Skip to content

Formatter

greggwon edited this page May 31, 2013 · 2 revisions

The `NetLog.Logging.Formatter`` defined mechanism provides the formatting of the output stream of data. The StreamFormatter is the provided default in this package. It creates a record of the form:

mm/dd/yyyy hh:mm:ss.ss [logger.name] Level # Logged text message.

This provides a nicely delimited message format with unique separators for all the parts of the logged record so that simple string processing tools can be used to do extractions if necessary.

Clone this wiki locally