flog library
Classes
- BackgroundColor
- Flog
- FlogDelegate
- FlogFormats
- RGB
- create custom color
- StatementFormat
- TextFormat
Enums
Functions
-
flogError(
Object? object, [dynamic stackTrace]) → void - Use flogError in an event of an exception or an undesired result
-
flogFatal(
Object? object, [dynamic stackTrace]) → void - Use flogFatal to produce a log that represents an irreparable situation
-
flogImportant(
Object? object) → void - Use flogImportant to produce logs that may require additional attention
-
flogInfo(
Object? object, [Object? feature]) → void - Use flogInfo to produce informative logs.
- Use flogNav to produce logs regarding navigation changes.
-
flogRequest(
Object? object, [Object? feature]) → void - Use flogRequest to produce logs regarding any http/remote requests.
-
flogState(
Object? object, [Object? feature]) → void - Use flogState to produce logs regarding state changes.
Typedefs
- AllowLog = bool Function()
- FlogErrorCallback = void Function(Object? object, [dynamic stackTrace])
- FlogFatalCallback = void Function(Object? object, [dynamic stackTrace])
- FlogImportantCallback = void Function(Object? object)
- FlogInfoCallback = void Function(Object? object, [Object? feature])
- FlogLabeler = String Function(DateTime date, String tag, String? feature)
- allows customization to the prefix of log
- FlogRequestCallback = void Function(Object? object, [Object? feature])
- FlogStateCallback = void Function(Object? object, [Object? feature])