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 ::
unpublished
service FileHandler
Supported Interface
XLogHandler
Usage Restrictions
not published
Description
specifies a component implementing a log handler whose output
channel is a file.
The handler will use the Encoding
attribute of XLogHandler
to determine how to encode strings before actually writing them to the output
file.
Since
OOo 2.3
See also
XLogHandler ::Encoding
Constructors' Summary
create
creates a log handler whose output is directed to a file given by URL.
createWithSettings
creates an instance of the log handler, using generic settings
Constructors' Details
create
create (
[in] string
FileURL );
Description
creates a log handler whose output is directed to a file given by URL.
Parameter FileURL
the URL of the file to be created. This URL is resolved using the
::com::sun::star::util ::PathSubstitution service. That
is, it is allowed to include placeholders such as $(userurl)
.
createWithSettings
Description
creates an instance of the log handler, using generic settings
Parameter Settings
contains the initial settings for the log handler
The following settings are recognized and supported:
Additionally, a setting name FileURL
is recognized. It must be of type
string, and denotes the file URL to which the handler's output should be directed.
At least the URL argument must be present in the settings.
Throws
::com::sun::star::lang::IllegalArgumentException
if Settings contains settings whose value is of the wrong type.
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.