Skip to content

Library Global Logger

Gabriel edited this page Sep 26, 2023 · 2 revisions

Logger

Provides methods for printing coloured text to the console.

Functions;

  • void Log(object in_message, LogLevel in_level = LogLevel.None, string in_caller = "") - prints the input object to the console with the specified log level and caller prefix.
  • void Utility(object in_message, string in_caller = "") - prints the input object to the console with the green colour.
  • void Warning(object in_message, string in_caller = "") - prints the input object to the console with the yellow colour.
  • void Error(object in_message, string in_caller = "") - prints the input object to the console with the red colour.

Types

  • enum LogLevel - the importance level of the current log (this determines what colour is used for console output).
Clone this wiki locally