-
Notifications
You must be signed in to change notification settings - Fork 0
Log format
Jiří Škoda edited this page Mar 26, 2024
·
10 revisions
Log format is string containing special characters to describe format of log.
| Content |
|---|
| 1. General syntax |
| 2. Data symbols |
| 3. Format symbols |
Syntax of log format string is based on general PHP-Movic syntax:
%X%
Where X can be any of data symbol or format symbol.
Symbols in format string can be repeated. For example:
%X% [%Y%]: %Z%
Until all of X, Yand Z are valid symbols, log format string is valid too.
Data symbols contains some information connected with log. List of symbols is following:
-
DATE: Represents date of log creation -
TIME: Represents time of log creation -
LEVEL: Represents level of log -
MESSAGE: Represents message of log