Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: logging ::
unpublished | interface XLogHandler |
  Base Interfaces
      XLogHandler
      ┗ ::com::sun::star::lang::XComponent
  ::com::sun::star::lang::XComponent | Description allows life time control for the handler Disposing the handler effectively means closing the channel to which the handler forwards the log records.
Usage Restrictions not published Description provides possibilities to send LogRecords to an arbitrary output channel. Since OOo 2.3 See also XLogger

Methods' Summary
flush | flushes all buffered output of the handler
publish | publish the given log record at the handler's output channel.

Attributes' Summary
Encoding | specifies MIME charset name for the encoding to be used by this handler
Formatter | specifies the formatter to be used by this handler.
Level | specifies the log level of this handler

Methods' Details
flush
void
flush();
Description flushes all buffered output of the handler Log handlers are allowed to buffer their output. Upon `flush` being called, they must flush all their buffers.
publish
boolean
publish( | [in] LogRecord | Record );
Description publish the given log record at the handler's output channel. Returns true if and only if the record was actually published. A handler will not publish a record if its log level doesn't meet the handler's log level, if the record is filtered, or if any other handler-specified restrictions apply.

Attributes' Details
Encoding
string Encoding; Description specifies MIME charset name for the encoding to be used by this handler It depends on the concrete handler implementation whether or not this parameter is needed. See also http://www.iana.org/assignments/character-sets
Formatter
XLogFormatter Formatter; Description specifies the formatter to be used by this handler.
Level
long Level; Description specifies the log level of this handler Different handlers can have different log levels, which again might be different from the log level of the XLogger for which the handlers are used.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.