Module lager_logger_api

Function Index

append/1Append a message to a file.
debug/1Output kind of 'Debug log'.
error/1Output kind of 'Error log'.
fatal/1Output kind of 'Fatal log'.
info/1Output kind of 'Information log'.
new/2Create loggers for message logs.
new/3
new/4
reset_hwm/0Reset error_logger_hwm It should be called once the startup phase finished.
stop/0Stop Loggers.
update_log_level/1Update the log level of the info/error logger.
warn/1Output kind of 'Warning log'.

Function Details

append/1

append(LogInfo) -> ok

Append a message to a file

debug/1

debug(Log) -> ok

Output kind of 'Debug log'

error/1

error(Log) -> ok

Output kind of 'Error log'

fatal/1

fatal(Log) -> ok

Output kind of 'Fatal log'

info/1

info(Log) -> ok

Output kind of 'Information log'

new/2

new(RootPath, Level) -> ok

Create loggers for message logs

new/3

new(RootPath, Level, Loggers) -> ok

new/4

new(LogGroup, LogId, RootPath, LogFileName) -> ok

reset_hwm/0

reset_hwm() -> any()

Reset error_logger_hwm It should be called once the startup phase finished.

stop/0

stop() -> any()

Stop Loggers

update_log_level/1

update_log_level(Level) -> ok | {error, any()}

Update the log level of the info/error logger

warn/1

warn(Log) -> ok

Output kind of 'Warning log'


Generated by EDoc