| append/1 | Append a message to a file. |
| debug/1 | Output kind of 'Debug log'. |
| error/1 | Output kind of 'Error log'. |
| fatal/1 | Output kind of 'Fatal log'. |
| info/1 | Output kind of 'Information log'. |
| new/2 | Create loggers for message logs. |
| new/3 | |
| new/4 | |
| reset_hwm/0 | Reset error_logger_hwm It should be called once the startup phase finished. |
| stop/0 | Stop Loggers. |
| update_log_level/1 | Update the log level of the info/error logger. |
| warn/1 | Output kind of 'Warning log'. |
append(LogInfo) -> ok
LogInfo = {atom(), #message_log{}}
Append a message to a file
debug(Log) -> ok
Log = #message_log{}
Output kind of 'Debug log'
error(Log) -> ok
Log = #message_log{}
Output kind of 'Error log'
fatal(Log) -> ok
Log = #message_log{}
Output kind of 'Fatal log'
info(Log) -> ok
Log = #message_log{}
Output kind of 'Information log'
new(RootPath, Level) -> ok
RootPath = string()Level = integer()
Create loggers for message logs
new(RootPath, Level, Loggers) -> ok
RootPath = string()Level = integer()Loggers = [{atom(), log_appender()}]
new(LogGroup, LogId, RootPath, LogFileName) -> ok
LogGroup = atom()LogId = atom()RootPath = string()LogFileName = string()
reset_hwm() -> any()
Reset error_logger_hwm It should be called once the startup phase finished.
stop() -> any()
Stop Loggers
Update the log level of the info/error logger
warn(Log) -> ok
Log = #message_log{}
Output kind of 'Warning log'
Generated by EDoc