org.pentaho.di.core.logging
Class LogChannel

java.lang.Object
  extended by org.pentaho.di.core.logging.LogChannel
All Implemented Interfaces:
LogChannelInterface

public class LogChannel
extends Object
implements LogChannelInterface


Field Summary
static LogChannelInterface GENERAL
           
static LogChannelInterface METADATA
           
static LogChannelInterface UI
           
 
Constructor Summary
LogChannel(Object subject)
           
LogChannel(Object subject, LoggingObjectInterface parentObject)
           
 
Method Summary
 String getContainerObjectId()
           
 String getLogChannelId()
           
 LogLevel getLogLevel()
           
 boolean isBasic()
           
 boolean isDebug()
           
 boolean isDetailed()
           
 boolean isError()
           
 boolean isRowLevel()
           
 void logBasic(String s)
           
 void logBasic(String s, Object... arguments)
           
 void logDebug(String s)
           
 void logDebug(String message, Object... arguments)
           
 void logDetailed(String s)
           
 void logDetailed(String s, Object... arguments)
           
 void logError(String s)
           
 void logError(String s, Object... arguments)
           
 void logError(String s, Throwable e)
           
 void logMinimal(String s)
           
 void logMinimal(String message, Object... arguments)
           
 void logRowlevel(String s)
           
 void logRowlevel(String message, Object... arguments)
           
 void setContainerObjectId(String containerObjectId)
           
 void setLogLevel(LogLevel logLevel)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GENERAL

public static LogChannelInterface GENERAL

METADATA

public static LogChannelInterface METADATA

UI

public static LogChannelInterface UI
Constructor Detail

LogChannel

public LogChannel(Object subject)

LogChannel

public LogChannel(Object subject,
                  LoggingObjectInterface parentObject)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getLogChannelId

public String getLogChannelId()
Specified by:
getLogChannelId in interface LogChannelInterface
Returns:
the id of the logging channel

logMinimal

public void logMinimal(String s)
Specified by:
logMinimal in interface LogChannelInterface

logBasic

public void logBasic(String s)
Specified by:
logBasic in interface LogChannelInterface

logError

public void logError(String s)
Specified by:
logError in interface LogChannelInterface

logError

public void logError(String s,
                     Throwable e)
Specified by:
logError in interface LogChannelInterface

logBasic

public void logBasic(String s,
                     Object... arguments)
Specified by:
logBasic in interface LogChannelInterface

logDetailed

public void logDetailed(String s,
                        Object... arguments)
Specified by:
logDetailed in interface LogChannelInterface

logError

public void logError(String s,
                     Object... arguments)
Specified by:
logError in interface LogChannelInterface

logDetailed

public void logDetailed(String s)
Specified by:
logDetailed in interface LogChannelInterface

logDebug

public void logDebug(String s)
Specified by:
logDebug in interface LogChannelInterface

logDebug

public void logDebug(String message,
                     Object... arguments)
Specified by:
logDebug in interface LogChannelInterface

logRowlevel

public void logRowlevel(String s)
Specified by:
logRowlevel in interface LogChannelInterface

logMinimal

public void logMinimal(String message,
                       Object... arguments)
Specified by:
logMinimal in interface LogChannelInterface

logRowlevel

public void logRowlevel(String message,
                        Object... arguments)
Specified by:
logRowlevel in interface LogChannelInterface

isBasic

public boolean isBasic()
Specified by:
isBasic in interface LogChannelInterface

isDebug

public boolean isDebug()
Specified by:
isDebug in interface LogChannelInterface

isDetailed

public boolean isDetailed()
Specified by:
isDetailed in interface LogChannelInterface

isRowLevel

public boolean isRowLevel()
Specified by:
isRowLevel in interface LogChannelInterface

isError

public boolean isError()
Specified by:
isError in interface LogChannelInterface

getLogLevel

public LogLevel getLogLevel()
Specified by:
getLogLevel in interface LogChannelInterface

setLogLevel

public void setLogLevel(LogLevel logLevel)
Specified by:
setLogLevel in interface LogChannelInterface

getContainerObjectId

public String getContainerObjectId()
Specified by:
getContainerObjectId in interface LogChannelInterface
Returns:
the containerObjectId

setContainerObjectId

public void setContainerObjectId(String containerObjectId)
Specified by:
setContainerObjectId in interface LogChannelInterface
Parameters:
containerObjectId - the containerObjectId to set