LibreOffice
LibreOffice 24.2 SDK API Reference
|
specifies the interface used for formatting log records for RFC4180 CSV output More...
import"XCsvLogFormatter.idl";
Public Member Functions | |
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(). More... | |
Public Member Functions inherited from XLogFormatter | |
string | getHead () |
returns the header string for the log More... | |
string | format ([in] LogRecord Record) |
formats the given log record for output More... | |
string | getTail () |
returns the footer string for the log More... | |
Public Attributes | |
boolean | LogEventNo |
Defines if the EventNo should be logged. More... | |
boolean | LogThread |
Defines if the ThreadId should be logged. More... | |
boolean | LogTimestamp |
Defines if the Timestamp should be logged. More... | |
boolean | LogSource |
Defines if the Source should be logged. More... | |
sequence< string > | Columnnames |
Defines the names of the additional columns this defaults to only one row titled "message". More... | |
specifies the interface used for formatting log records for RFC4180 CSV output
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().
E.g.:
XLoggerInstance.log(1000, XCsvLogFormatterInstance.formatMultiColumn(columnData))
|
attribute |
Defines the names of the additional columns this defaults to only one row titled "message".
if this is set to more than one column, the messages need to be preformatted using formatMultiColumn
|
attribute |
Defines if the EventNo should be logged.
|
attribute |
Defines if the Source should be logged.
|
attribute |
Defines if the ThreadId should be logged.
|
attribute |
Defines if the Timestamp should be logged.