|
Joutsen Logging v0.5.0+22-gec3d058
|
A class that defines a Joutsen.Logging.IFormatter that formats log entries as CSV file records. More...
Public Member Functions | |
| CsvFormatter () | |
| string | Format (LogRecord record) |
| Creates a formated string representation of the @paramref record which can be written. More... | |
| string | GetHeader (global::System.Text.Encoding encoding) |
| Creates the header of a CSV file containing the column headers. More... | |
| 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... | |
A class that defines a Joutsen.Logging.IFormatter that formats log entries as CSV file records.
| Joutsen.Logging.CsvFormatter.CsvFormatter | ( | ) |
| string Joutsen.Logging.CsvFormatter.Format | ( | LogRecord | record | ) |
Creates a formated string representation of the @paramref record which can be written.
| record | the record to create a formatted string from |
Implements Joutsen.Logging.Formatter.
| string Joutsen.Logging.CsvFormatter.GetHeader | ( | global::System.Text.Encoding | encoding | ) |
Creates the header of a CSV file containing the column headers.
| encoding | information about the encoding that will be used to write log entries. This value will not be used by this formatter. |
| string Joutsen.Logging.CsvFormatter.GetSeparator | ( | ) |
Creates a separator that is to be written between records.
Implements Joutsen.Logging.Formatter.
| string Joutsen.Logging.CsvFormatter.GetTail | ( | ) |
Creates additional information that is written after the last record.
Implements Joutsen.Logging.Formatter.