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 XConsoleHandler
Base Interfaces
XConsoleHandlerXLogHandler
   ┗ ::com::sun::star::lang::XComponent

XLogHandler
(referenced interface's summary:)
provides possibilites to send LogRecords to an arbitrary output channel.
Usage Restrictions
not published
Description
implemented by a log handler whose output channel is the processes console.

Note that a console handler will ignore its formatter's head and tail, since it cannot decided whether they should be emitted on stdout or stderr.

Since
OOo 2.3

Attributes' Summary
Threshold renotes the LogLevel threshold used to determine to which console the events should be logged.  
Attributes' Details
Threshold
long Threshold;
Description
renotes the LogLevel threshold used to determine to which console the events should be logged.

Events with a level greater or equal to Threshold will be logged to stderr, all others to stdout.

The default value for this attribute is LogLevel::SEVERE.

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.