LibreOffice
LibreOffice 24.2 SDK API Reference
|
implements a pool for named XLogger instances More...
import"XLoggerPool.idl";
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... | |
implements a pool for named XLogger instances
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" )
.
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.