Flectone Logo FlectonePulse

Logger

Configuration for everything related to the console and logs

Information

If you encounter a problem when enabling the plugin and the startup log is incomplete, enable debug mode using the flag -Dflectonepulse.debug=true, for example java -Dflectonepulse.debug=true -jar server.jar

Warning

ANSI colors are used here for messages; standard colors will not work.


⚙️ Setting

Path config.yml → logger
logger:
  console: "Console"
  prefix: "(FlectonePulse) "
  description:
  - " ___       ___  __  ___  __        ___"
  - "|__  |    |__  /  `  |  /  \\ |\\ | |__"
  - "|    |___ |___ \\__,  |  \\__/ | \\| |___"
  - " __             __   ___"
  - "|__) |  | |    /__` |__ "
  - "|    \\__/ |___ .__/ |___   /\\"
  - "                          /  \\ v<version>"
  - "__/\\___  ____/\\_____  ___/    \\______"
  - "       \\/           \\/"
  primary: "\e[38;2;77;166;255m"
  warn: "\e[33m"
  info: "\e[38;2;166;216;255m"
  filter:
  - "Paper Async Command Builder"
  - "Caught previously unhandled exception :"
  - "Error received from Telegram GetUpdates Request"
  - "OkHttp TaskRunner"
  - "Exception in thread \"ForkJoinPool"
  - "FlectonePulseDatabase - "

console

Used to display the name when a message is created by the console. console

prefix

The prefix for all messages that FlectonePulse writes to the console.

description

The message displayed upon a successful start; <version> will be replaced with the current version of FlectonePulse.

primary

Color for highlighting elements in message.

warn

The color for warning messages.

info

The color for informational messages.

filter

The idea is taken from here, thanks to @Whitescan.

A list of messages to hide, using keywords found within the message.

For example, if I want to filter:

filter

Then you should enter: Unknown or incomplete command or command or Unknown

On this page

Authors of page