LambdaBase v0.2.2 Util.LambdaLogger
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.
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 type
on_start()
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
debug(message)
Log Debug.
Link to this function
error(message)
Log Error.
Link to this function
info(message)
Log Information.
Start Logger.
log_level must be in [:debug, :info, :warn, :error]
Link to this function
warn(message)
Log Warning.