:: 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 © 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.