References
| append/1 | Append a message to a file. |
| force_rotation/1 | Force log-rotation. |
| format/2 | Format a log message. |
| new/4 | Create loggers for message logs. |
| sync/1 | Sync a log file. |
| update_log_level/2 | Update the log-level. |
append(LogInfo) -> ok
LogInfo = {atom(), #message_log{}}
Append a message to a file
force_rotation(LogId) -> ok | {error, term()}
LogId = atom()
Force log-rotation
format(Appender, Log) -> string()
Appender = atom()Log = #message_log{}
Format a log message
new(LogGroup, LogId, RootPath, LogFileName) -> ok
LogGroup = atom()LogId = atom()RootPath = string()LogFileName = string()
Create loggers for message logs
sync(LogId) -> ok | {error, term()}
LogId = atom() | #logger_state{}
Sync a log file
Update the log-level
Generated by EDoc