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(java.lang.String aLoggerName)
          Returns the
 java.lang.String getName()
          Gets the name of this logger.
 java.lang.String getPath()
          Returns the
 

Method Detail

getPath

public java.lang.String getPath()
Returns the
Returns:
The path where log files are written.

getLogger

public ILogger getLogger(java.lang.String aLoggerName)
Returns the
Parameters:
aLoggerName - The logger name
Returns:
The logger associated to the logger name.

getLogger

public ILogger getLogger()
Returns the
Returns:
The default logger.

getName

public java.lang.String getName()
Gets the name of this logger.
Returns:
The logger name.