You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In release mode , the logger can not log anything , the file is empty. In debug mode ,it can log into file .
Is there something wrong with my usage ? How can I fix this?
Thank you !
logger init:
logger = Logger(
printer: PrettyPrinter(
methodCount: 2,
// number of method calls to be displayed
errorMethodCount: 8,
// number of method calls if stacktrace is provided
lineLength: 120,
// width of the output
colors: true,
// Colorful log messages
printEmojis: true,
// Print an emoji for each log message
printTime: true // Should each log print contain a timestamp
),
output: FileOutput(
file: logFile));
usage:
logger.d('msg');
The text was updated successfully, but these errors were encountered:
Hi,
In release mode , the logger can not log anything , the file is empty. In debug mode ,it can log into file .
Is there something wrong with my usage ? How can I fix this?
Thank you !
logger init:
usage:
The text was updated successfully, but these errors were encountered: