Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished interface XSimpleLogRing
Usage Restrictions
not published
Description
a simple log ring allowing to collect a limited number of last events

The intention of this interface is to provide a simple possibility for developer to collect the most important events without affecting the performance. For this reasons the messages related API is quite simple, the strings should be produced by the preprocessor mainly.

Since
OOo 3.2

Methods' Summary
logString allows to add a message to the logger  
getCollectedLog allows to get the collected messages from the logger  
Methods' Details
logString
void
logString( [in] string  aMessage );

Description
allows to add a message to the logger
getCollectedLog
sequence< string >
getCollectedLog();

Description
allows to get the collected messages from the logger

It is up to logger implementation to provide only the limited number of last messages.

Top of Page

Apache Software Foundation

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

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