| LibreOffice
    LibreOffice 24.8 SDK API Reference | 
specifies a service which formats log records for RFC4180-style CSV-Files More...
import "CsvLogFormatter.idl";
 
  
| Public Member Functions | |
| create () | |
| creates a CsvLogFormatter instance | |
| Public Member Functions inherited from XCsvLogFormatter | |
| string | formatMultiColumn ([in] sequence< string > columnData) | 
| if the CsvLogFormatter is set to have more than one column, any logged information has to be send through this method before calling log(). | |
| Public Member Functions inherited from XLogFormatter | |
| string | getHead () | 
| returns the header string for the log | |
| string | format ([in] LogRecord Record) | 
| formats the given log record for output | |
| string | getTail () | 
| returns the footer string for the log | |
| Additional Inherited Members | |
| Public Types inherited from XCsvLogFormatter | |
| typedef sequence< string > | Columnnames | 
| Defines the names of the additional columns this defaults to only one row titled "message". | |
| Public Attributes inherited from XCsvLogFormatter | |
| boolean | LogEventNo | 
| Defines if the EventNo should be logged. | |
| boolean | LogThread | 
| Defines if the ThreadId should be logged. | |
| boolean | LogTimestamp | 
| Defines if the Timestamp should be logged. | |
| boolean | LogSource | 
| Defines if the Source should be logged. | |
specifies a service which formats log records for RFC4180-style CSV-Files
Every log record, as passed to XCsvLogFormatter::format(), will be formatted into a single row for a CSV file. The sequence number, the thread ID, the time of the logged event, the source class/method name will get logged alongside the message, if this is not disabled. The Formatter also supports logging an arbitrary number of user-defined columns. If the Formatter is configured to have more than one (user-defined) column the data to log has to be preformatted with the formatMultiColumn method.
| create | ( | ) | 
creates a CsvLogFormatter instance