talker_logger library

Classes

AnsiPen
Pen attributes for foreground and background colors.
ColoredLoggerFormater
This formatter makes messages colorful if this setting is enabled in the settings TalkerLoggerSettings
ConsoleUtils
Сlass that contains methods for working with console output
LogDetails
A class for transporting data about an log message
LoggerFormater
Responsible for formatting message before output
LogLevelTalkerLoggerFilter
This filter checks that current message level is above certain LogLevel setting in TalkerLoggerSettings
TalkerLogger
TalkerLoggerFilter
Abstract filter for messages logging.
TalkerLoggerInterface
TalkerLoggerSettings
Logger customization settings

Enums

LogLevel
Level of logs to segmentation фтв control logging output

Extensions

LogLevelTitle on LogLevel?
Extension to get console log title of log level
ToConsoleColor on LogLevel?
Extension to get console log AnsiPen of log level to make colored message

Constants

ansi_default → const String
ansi_esc → const String
ansiDefault → const String
Reset all colors and options for current SGRs to terminal defaults.
ansiEscape → const String
ANSI Control Sequence Introducer, signals the terminal for new settings.
ansiResetBackground → const String
Ansi codes that default the terminal's background color without altering the foreground, when printed.
ansiResetForeground → const String
Ansi codes that default the terminal's foreground color without altering the background, when printed.
kDefaultLoggerSettings → const TalkerLoggerSettings

Properties

ansiColorDisabled bool
Globally enable or disable AnsiPen settings.
getter/setter pair
color_disabled bool
getter/setter pair
logLevelPriorityList List<LogLevel>
List of levels sorted by priority
final