getPrefix

public String getPrefix()

Gives the token to prefix plugin-specific logging messages with.

  • This includes all messages using getLogger.
  • If not specified, the server uses the plugin's name.
  • This should clearly indicate what plugin is being logged.

In the plugin.yml, this entry is named prefix.

Example:

prefix: ex-why-zee

Return

the prefixed logging token, or null if not specified