Module flower.Logger
Simple logger class.
Info:
- Release: V3.0.0
- Author: Makoto
Functions
-
info (...)
-
Outputs a info log.
Parameters:
-
warn (...)
-
Outputs a warn log.
Parameters:
-
error (...)
-
Outputs a error log.
Parameters:
-
debug (...)
-
Outputs a debug log.
Parameters:
-
trace (...)
-
Outputs a trace log.
Parameters:
-
log (logLevel, ...)
-
Outputs a specified log.
Parameters:
- logLevel
target log level.
- ...
messages
-
format (logLevel, ...)
-
Formats a messages.
You can change the format function.
Parameters:
- logLevel
log level.
- ...
messages
-
outputLog (...)
-
Outputs a log.
You can change the outputLog function.
Parameters:
-
outputTrace ()
-
Prints a stack trace.
Tables
-
LOG_LEVELS
-
Log level.
Fields:
- INFO
- WARN
- ERROR
- DEBUG
- TRACE
-
TRACE_LEVELS
-
Trace level.
Fields:
- INFO
- WARN
- ERROR
- DEBUG
- TRACE