:: com :: sun :: star :: logging ::

service ConsoleHandler
Supported Interface
XConsoleHandler


Constructors' Summary
create creates a ConsoleHandler 
createWithSettings creates an instance of the log handler, using generic settings  
Constructors' Details
create
create();

Description
creates a ConsoleHandler
createWithSettings
createWithSettings( [in] sequence< ::com::sun::star::beans::NamedValue >  Settings )
raises( ::com::sun::star::lang::IllegalArgumentException );

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
  • Threshold - denotes the initial value of the XConsoleHandler::Threshold

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

 
Top of Page