Flectone Logo FlectonePulse

Logger

Configuration for everything related to the console and logs

Warning

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


⚙️ Setting

Path config.yml → logger
logger:
  console: "Console"
  prefix: "\e[38;2;77;166;255m(FlectonePulse) \e[0m"
  description:
  - "\e[38;2;77;166;255m ___       ___  __  ___  __        ___ \e[0m"
  - "\e[38;2;77;166;255m|__  |    |__  /  `  |  /  \\ |\\ | |__  \e[0m"
  - "\e[38;2;77;166;255m|    |___ |___ \\__,  |  \\__/ | \\| |___ \e[0m"
  - "\e[38;2;77;166;255m __             __   ___ \e[0m"
  - "\e[38;2;77;166;255m|__) |  | |    /__` |__  \e[0m"
  - "\e[38;2;77;166;255m|    \\__/ |___ .__/ |___\e[38;2;77;166;255m   /\\\e[0m"
  - "\e[38;2;77;166;255m                          /  \\ v<version>\e[0m"
  - "\e[38;2;77;166;255m__/\\___  ____/\\_____  ___/    \\______ \e[0m"
  - "\e[38;2;77;166;255m       \\/           \\/  \e[0m"
  warn: "\e[0;93m"
  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.

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

Last updated on

Edit on GitHub

On this page

Authors of page