Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: logging ::

unpublished interface XCsvLogFormatter
Base Interfaces
XCsvLogFormatterXLogFormatter

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 infomation 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 infomation 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.