utils/logger library
Constants
-
ansiColors
→ const Map<
String, String> - ANSI escape codes for colors
- resetColor → const String
- ANSI escape code to reset color
Properties
- log → Logger
-
logger object for logging
final
Functions
-
initializeLogger(
{Level level = kDebugMode ? Level.ALL : Level.SEVERE}) → void - it will initialize the logger for the app
-
logException(
dynamic data) → void - it will log using serve method
-
logInfo(
dynamic data) → void - it will log using info method
-
logSuccess(
dynamic data) → void - it will log using info method