The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: 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 Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice 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.