LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XLoggerPool Interface Reference

implements a pool for named XLogger instances More...

import"XLoggerPool.idl";

Inheritance diagram for XLoggerPool:
LoggerPool

Public Member Functions

XLogger getNamedLogger ([in] string Name)
 retrieves a logger with the given name More...
 
XLogger getDefaultLogger ()
 retrieves a logger with the default name "org.openoffice.logging.DefaultLogger". More...
 

Detailed Description

implements a pool for named XLogger instances

Since
OOo 2.3

Member Function Documentation

◆ getDefaultLogger()

XLogger getDefaultLogger ( )

retrieves a logger with the default name "org.openoffice.logging.DefaultLogger".

Calling this method is equivalent to calling getNamedLogger( "org.openoffice.logging.DefaultLogger" ).

◆ getNamedLogger()

XLogger getNamedLogger ( [in] string  Name)

retrieves a logger with the given name

Multiple attempts to retrieve a logger with the same name will return the same instance.

Newly created logger instances are initialized via configuration. See the configuration module /org.openoffice.Office.Logging for an explanation of the initialization pattern.


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