talker_flutter library

Classes

AnsiPen
Pen attributes for foreground and background colors.
BaseTalkerFilter
ColoredLoggerFormatter
This formatter makes messages colorful if this setting is enabled in the settings TalkerLoggerSettings
ConsoleUtils
Class that contains methods for working with console output
DefaultTalkerHistory
Base implementation of TalkerHistory to save the history locally
ExtendedLoggerFormatter
This formatter makes messages colorful if this setting is enabled in the settings TalkerLoggerSettings
LogDetails
A class for transporting data about an log message
LoggerFilter
Abstract filter for messages logging.
LoggerFormatter
Responsible for formatting message before output
LogLevelFilter
This filter checks that current message level is above certain LogLevel setting in TalkerLoggerSettings
SnackbarContent
Talker
Talker - advanced exception handling and logging for dart/flutter applications
TalkerBuilder
TalkerDataCard
TalkerDataInterface
Base Talker Data transfer object Objects of this type are passed through handlers observer and stream
TalkerDateTimeFormatter
Util for DateTime formatting
TalkerError
Base implementation of TalkerDataInterface to handle ONLY Errors
TalkerErrorHandler
TalkerException
Base implementation of TalkerDataInterface to handle ONLY Exceptionss
TalkerHistory
Base class for create your own implementation of history
TalkerListener
It should be used for app functionality like showing SnackBar or Dialog about error or exception
TalkerLog
Base implementation of TalkerDataInterface to create Logs
TalkerLogger
TalkerLoggerSettings
Logger customization settings
TalkerObserver
Base observer class for to create your own observers
TalkerRouteLog
TalkerRouteObserver
Logging NavigatorObserver working on Talker base This observer displays which routes were opened and closed in the application
TalkerScreen
UI view for output of all Talker logs and errors
TalkerScreenTheme
Configuring the UI of TalkerScreen
TalkerSettings
This class used for setup Talker configuration
TalkerView
TalkerWrapper
Widget to wrap an screen or the entire application in Talker data listening
TalkerWrapperOptions
Options for TalkerWrapper

Enums

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

Extensions

FieldsToDisplay on TalkerDataInterface
Extension to get display text of TalkerDataInterface fields
HistoryListFlutterText on List<TalkerDataInterface>
LogLevelExtensions on LogLevel?
Extension to map LogLevel into Flutter Color
LogLevelTitle on LogLevel?
Extension to get console log title of log level
TalkerDataInterfaceListExt on List<TalkerDataInterface>
TalkerFlutter on Talker
ToConsoleColor on LogLevel?
Extension to get console log AnsiPen of log level to make colored message
WellKnownTitlesExt on WellKnownTitles

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.

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

Functions

resetBackground() String
resetForeground() String
runTalkerZonedGuarded<R>(Talker talker, R body(), void onError(Object error, StackTrace stack), {Map<Object?, Object?>? zoneValues, ZoneSpecification? zoneSpecification, bool catchFlutterErrors = true}) Future<R?>

Typedefs

TalkerDataBuilder = Widget Function(BuildContext context, TalkerDataInterface data)
Signature for build custom TalkerData widgets
TalkerErrorBuilder = Widget Function(BuildContext context, TalkerError data)
Signature for build custom TalkerError messages in showing Snackbar or another widgets
TalkerExceptionBuilder = Widget Function(BuildContext context, TalkerException data)
Signature for build custom TalkerException messages in showing Snackbar or another widgets
TalkerFilter = _Filter<TalkerDataInterface>
TalkerWidgetBuilder = Widget Function(BuildContext context, List<TalkerDataInterface> data)