:: com :: sun :: star :: logging ::
|
unpublished |
interface XCsvLogFormatter |
|
|
- Base Interfaces
XCsvLogFormatter
┗ XLogFormatter
XLogFormatter |
- (referenced interface's summary:)
- specifies the interface to be used for formatting log records
|
|
- Usage Restrictions
- not published
- Description
- specifies the interface used for formatting log records for RFC4180 CSV
output
- Since
- OOo 3.0
- See also
- XLogFormatter,
XLogHandler
|
Methods' Summary |
formatMultiColumn |
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(column_data))
|
Attributes' Summary |
LogEventNo |
Defines if the EventNo should be logged |
LogThread |
Defines if the ThreadId should be logged |
LogTimestamp |
Defines if the Timestamp should be logged |
LogSource |
Defines if the Source should be logged |
Columnnames |
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 |
Methods' Details |
formatMultiColumn
string |
formatMultiColumn( |
[in] sequence< string > |
column_data ); |
- Description
- 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(column_data))
|
|
Attributes' Details |
LogEventNo
boolean LogEventNo;
- Description
- Defines if the EventNo should be logged
|
|
LogThread
boolean LogThread;
- Description
- Defines if the ThreadId should be logged
|
|
LogTimestamp
boolean LogTimestamp;
- Description
- Defines if the Timestamp should be logged
|
|
LogSource
boolean LogSource;
- Description
- Defines if the Source should be logged
|
|
Columnnames
sequence< string > Columnnames;
- Description
- 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
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.