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:
Encoding - denotes the initial value of the XLogHandler::Encoding
Formatter - denotes the initial value of the XLogHandler::Formatter
Level - denotes the initial value of the XLogHandler::Level
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 © 2020, 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.