com.sapportals.portal.prt.logger

Interface ILoggerContext


public interface ILoggerContext

The ILoggerContext is used to allow information transfer between packages that are not allowed to communicate directly. It holds global information of a logger like its name or the path where log files are written. It also gives an handle to available loggers in the system.


Method Summary
 ILogger getLogger()
          Returns the
 ILogger getLogger(String aLoggerName)
          Returns the
 String getName()
          Gets the name of this logger.
 String getPath()
          Returns the
 

Method Detail

getPath

String getPath()
Returns the

Returns:
The path where log files are written.

getLogger

ILogger getLogger(String aLoggerName)
Returns the

Parameters:
aLoggerName - The logger name
Returns:
The logger associated to the logger name.

getLogger

ILogger getLogger()
Returns the

Returns:
The default logger.

getName

String getName()
Gets the name of this logger.

Returns:
The logger name.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] EP-RUNTIME [sap.com] tc/ep/semantics/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice