LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
ConsoleHandler Service Reference

specifies a component implementing a log handler whose output channel is the processes console. More...

import "ConsoleHandler.idl";

Inheritance diagram for ConsoleHandler:
XConsoleHandler XLogHandler XComponent XInterface

Public Member Functions

 create ()
 creates a ConsoleHandler More...
 
 createWithSettings ([in] sequence< ::com::sun::star::beans::NamedValue > Settings) raises ( ::com::sun::star::lang::IllegalArgumentException )
 creates an instance of the log handler, using generic settings More...
 

Additional Inherited Members

- Exported Interfaces inherited from XLogHandler
interface ::com::sun::star::lang::XComponent
 allows life time control for the handler More...
 
- Public Attributes inherited from XConsoleHandler
long Threshold
 denotes the LogLevel threshold used to determine to which console the events should be logged. More...
 

Detailed Description

specifies a component implementing a log handler whose output channel is the processes console.

Since
OOo 2.3

Member Function Documentation

create ( )

creates a ConsoleHandler

createWithSettings ( [in] sequence< ::com::sun::star::beans::NamedValue Settings)
raises (::com::sun::star::lang::IllegalArgumentException
)

creates an instance of the log handler, using generic settings

Parameters
Settingscontains the initial settings for the log handler

The following settings are recognized and supported:

Exceptions
com::sun::star::lang::IllegalArgumentExceptionif Settings contains arguments with names other than in the list above, or settings whose value is of the wrong type.

The documentation for this service was generated from the following file: