new FSHandler()
A handler that persists log data onto file system.
Default file name pattern is topic.yyyy-mm-dd.log
, in which:
topic
is topic property from invoking log methodyyyy-mm-dd
is formated string from current date
Default template for formatting log lines is [<%= datetime %>][<%= pid %>] <%= text %>\n
datetime
is in ISO datetime formatpid
is the process idtext
is the output of formatter of log method
- Source: