Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: logging ::
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.
Description
provides possibilites to send LogRecord s 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
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
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 © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.