mixin_logger
library
Functions
-
d(String message)
→ void
-
debug log
-
e(String message, [Object? error, StackTrace? stackTrace])
→ void
-
error log
error
the error object
stackTrace
the stack trace of the error
-
i(String message)
→ void
-
info log
-
initLogger(String logDir, {int maxFileCount = 10, int maxFileLength = 1024 * 1024 * 10, String? fileLeading})
→ void
-
Init logger to write log to file.
-
setLoggerFileLeading(String? leading)
→ void
-
Set the leading of log file content, it will be written
to the first line of each log file.
-
v(String message)
→ void
-
verbose log
-
w(String message)
→ void
-
warning log
-
wtf(String message)
→ void
-
wtf log