fk_logs/loggy/loggy library

Classes

AnsiColor
This class handles colorizing of terminal output.
BlacklistFilter
Black list filter, opposite of WhitelistFilter
CustomLevelFilter
Define custom levels for logging custom types, LoggyTypes added here can define higher level for logging.
DefaultPrinter
Loggy<T extends LoggyType>
Use a Loggy to log debug messages.
LoggyFilter
Filter for loggy, everytime new log is added, Loggy will go thorough all the filters and if any of them is false, that log will not be displayed.
LoggyType
Different logger types must be mixins and they have to implement LoggyType This will make sure that each mixin is using it's own Loggy and that will be usefull when dictating what we want to show
LogLevel
Level class. Name is used printed out to console, and priority is used as level to find out severity of the log.
LogOptions
Choose what and how it gets logged
LogPrinter
Printer used to show logs, this can be easily swapped or replaced
LogRecord
This is sent to the LogPrinter and there printer can choose what and how to show it
PrettyPrinter
Format log and add emoji to represent the color.
WhitelistFilter
White list filter will log only Type of loggy that is passed. You should pass only Type that is from LoggyType otherwise no effect will take place.

Extensions

LoggySpawner on LoggyType

Constants

defaultLevel → const LogOptions
The default LogLevel.

Properties

hierarchicalLoggingEnabled bool
Whether to allow fine-grain logging and configuration of loggers in a hierarchy.
getter/setter pair