AzureFunctionsBase.Logger (AzureFunctionsBase v0.1.3) View Source
A logger for Azure Functions.
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,:info
takes precedence over:debug
. If your log level is set to:info
,:info
,:warn
, and:error
will be printed to the console. If your log level is set to:warn
, only:warn
and:error
will 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.
Get logs.
Start Logger.
Log Warning.
Link to this section Types
Specs
level() :: :error | :info | :warn | :debug
Specs
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Log Debug.
Log Error.
Log Information.
Get logs.
Specs
Start Logger.
log_level
must be in [:debug, :info, :warn, :error]
Log Warning.