LambdaBase v1.3.4 LambdaBase.Logger View Source
A logger for AWS Lambda.
Levels
The supported levels, ordered by precedence, are:
:debug- for debug-related messages:info- for information of any kind:warn- for warnings:error- for errors For example,:infotakes precedence over:debug. If your log level is set to:info,:info,:warn, and:errorwill be printed to the console. If your log level is set to:warn, only:warnand:errorwill be printed.
Setting
Set Log level to environment -> LOG_LEVEL
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Log Debug.
Log Error.
Log Information.
Start Logger.
Log Warning.
Link to this section Types
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Log Debug.
Log Error.
Log Information.
Start Logger.
log_level must be in [:debug, :info, :warn, :error]
Log Warning.