|
Joutsen Logging v0.5.0+22-gec3d058
|
A class that defines a Joutsen.Logging.IFormatter that formats log entries as simple text lines. More...
Public Member Functions | |
| SimpleFormatter () | |
| Creates a new instance of Joutsen.Logging.SimpleFormatter using the default line output format. More... | |
| SimpleFormatter (String format) | |
| Creates a new instance of Joutsen.Logging.SimpleFormatter using the default line output format. More... | |
| string | Format (LogRecord record) |
| Creates a text representation of the @paramref record. More... | |
| string | GetHeader (global::System.Text.Encoding encoding) |
| string | GetSeparator () |
| Creates a separator that is to be written between records. More... | |
| string | GetTail () |
| Creates additional information that is written after the last record. More... | |
Public Member Functions inherited from Joutsen.Logging.Formatter | |
| String | Format (LogRecord record) |
| Creates a formated string representation of the @paramref record which can be written. More... | |
| String | GetHeader (Encoding encoding) |
| Creates the header that is to be written before the first record is written. More... | |
| String | GetTail () |
| Creates additional information that is written after the last record. More... | |
| String | GetSeparator () |
| Creates a separator that is to be written between records. More... | |
Properties | |
| string | RecordFormat [get] |
| The format of a line of the log file. More... | |
A class that defines a Joutsen.Logging.IFormatter that formats log entries as simple text lines.
| Joutsen.Logging.SimpleFormatter.SimpleFormatter | ( | ) |
Creates a new instance of Joutsen.Logging.SimpleFormatter using the default line output format.
| Joutsen.Logging.SimpleFormatter.SimpleFormatter | ( | String | format | ) |
Creates a new instance of Joutsen.Logging.SimpleFormatter using the default line output format.
| the | format of a line of the log file |
| string Joutsen.Logging.SimpleFormatter.Format | ( | LogRecord | record | ) |
Creates a text representation of the @paramref record.
| record | the record to create a formatted string from |
Implements Joutsen.Logging.Formatter.
| string Joutsen.Logging.SimpleFormatter.GetHeader | ( | global::System.Text.Encoding | encoding | ) |
| string Joutsen.Logging.SimpleFormatter.GetSeparator | ( | ) |
Creates a separator that is to be written between records.
Implements Joutsen.Logging.Formatter.
| string Joutsen.Logging.SimpleFormatter.GetTail | ( | ) |
Creates additional information that is written after the last record.
Implements Joutsen.Logging.Formatter.
|
get |
The format of a line of the log file.
See the example for a detailed description of the format.