(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

unpublished struct LogRecord
Usage Restrictions
not published
Description
assembles the complete information about a to-be-logged event
Since
OOo 2.3
See also
XLogger

Elements' Summary
LoggerName specifies the name of the logger at which the record is logged 
SourceClassName specifies the name of the class, in which the record was logged. This name might be empty, in case the caller to one of the various log methods of XLogger did not specify it.  
SourceMethodName specifies the name of the method, in which the record was logged. This name might be empty, in case the caller to one of the various log methods of XLogger did not specify it.  
Message specifies the to-be-logged message 
LogTime specifies the time at which the event was logged 
SequenceNumber specifies the number of the log event. Subsequent events get assigned increasing sequence numbers by the XLogger at which they're logged.  
ThreadID specifies the ID of the thread in which the event was logged 
Level specifies the level of the log event  
Elements' Details
LoggerName
string LoggerName;
Description
specifies the name of the logger at which the record is logged
SourceClassName
string SourceClassName;
Description
specifies the name of the class, in which the record was logged. This name might be empty, in case the caller to one of the various log methods of XLogger did not specify it.
SourceMethodName
string SourceMethodName;
Description
specifies the name of the method, in which the record was logged. This name might be empty, in case the caller to one of the various log methods of XLogger did not specify it.
Message
string Message;
Description
specifies the to-be-logged message
LogTime
::com::sun::star::util::DateTime LogTime;
Description
specifies the time at which the event was logged
SequenceNumber
hyper SequenceNumber;
Description
specifies the number of the log event. Subsequent events get assigned increasing sequence numbers by the XLogger at which they're logged.
ThreadID
string ThreadID;
Description
specifies the ID of the thread in which the event was logged
Level
long Level;
Description
specifies the level of the log event
See also
LogLevel
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.