SimpleFormatter

SimpleFormatter

new SimpleFormatter()

SimpleFormatter is generally suitable for most cases. It output with default template [<%= level %>][<%= pid %>][<%= datetime %>] <%= category %><%= text %>.

  • level is the level of log method
  • pid is process id of current process
  • datetimte is ISO datetime string
  • category is the categroy of log method
  • text is the output of formatter of log method
Source:

Extends