org.apache.velocity.runtime.log
public class RuntimeLoggerLog extends Log
Constructor and Description |
---|
RuntimeLoggerLog(RuntimeLogger rlog)
Deprecated.
Creates a new Log that wraps a PrimordialLogChute.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(Object message)
Deprecated.
Log a debug message.
|
void |
debug(Object message,
Throwable t)
Deprecated.
Log a debug message and accompanying Throwable.
|
void |
error(Object message)
Deprecated.
Log an error message.
|
void |
error(Object message,
Throwable t)
Deprecated.
Log an error message and accompanying Throwable.
|
protected LogChute |
getLogChute()
Deprecated.
Returns the LogChute wrapped by this Log instance.
|
boolean |
getShowStackTraces()
Deprecated.
|
void |
info(Object message)
Deprecated.
Log an info message.
|
void |
info(Object message,
Throwable t)
Deprecated.
Log an info message and accompanying Throwable.
|
boolean |
isDebugEnabled()
Deprecated.
Returns true if debug level messages will be printed by the LogChute.
|
boolean |
isErrorEnabled()
Deprecated.
Returns true if error level messages will be printed by the LogChute.
|
boolean |
isInfoEnabled()
Deprecated.
Returns true if info level messages will be printed by the LogChute.
|
boolean |
isTraceEnabled()
Deprecated.
Returns true if trace level messages will be printed by the LogChute.
|
boolean |
isWarnEnabled()
Deprecated.
Returns true if warn level messages will be printed by the LogChute.
|
protected void |
setLogChute(LogChute newLogChute)
Deprecated.
Updates the LogChute wrapped by this Log instance.
|
protected void |
setShowStackTraces(boolean showStacks)
Deprecated.
|
void |
trace(Object message)
Deprecated.
Log a trace message.
|
void |
trace(Object message,
Throwable t)
Deprecated.
Log a trace message and accompanying Throwable.
|
void |
warn(Object message)
Deprecated.
Log a warning message.
|
void |
warn(Object message,
Throwable t)
Deprecated.
Log a warning message and accompanying Throwable.
|
formatFileString, formatFileString, formatFileString, formatFileString, log, log
public RuntimeLoggerLog(RuntimeLogger rlog)
rlog
- protected void setLogChute(LogChute newLogChute)
Log
setLogChute
in class Log
newLogChute
- The new value for the log chute.Log.setLogChute(org.apache.velocity.runtime.log.LogChute)
protected LogChute getLogChute()
Log
getLogChute
in class Log
Log.getLogChute()
protected void setShowStackTraces(boolean showStacks)
showStacks
- public boolean getShowStackTraces()
public boolean isTraceEnabled()
Log
isTraceEnabled
in class Log
Log.isTraceEnabled()
public void trace(Object message)
Log
trace
in class Log
Log.trace(java.lang.Object)
public void trace(Object message, Throwable t)
Log
trace
in class Log
Log.trace(java.lang.Object, java.lang.Throwable)
public boolean isDebugEnabled()
Log
isDebugEnabled
in class Log
Log.isDebugEnabled()
public void debug(Object message)
Log
debug
in class Log
Log.debug(java.lang.Object)
public void debug(Object message, Throwable t)
Log
debug
in class Log
Log.debug(java.lang.Object, java.lang.Throwable)
public boolean isInfoEnabled()
Log
isInfoEnabled
in class Log
Log.isInfoEnabled()
public void info(Object message)
Log
info
in class Log
Log.info(java.lang.Object)
public void info(Object message, Throwable t)
Log
info
in class Log
Log.info(java.lang.Object, java.lang.Throwable)
public boolean isWarnEnabled()
Log
isWarnEnabled
in class Log
Log.isWarnEnabled()
public void warn(Object message)
Log
warn
in class Log
Log.warn(java.lang.Object)
public void warn(Object message, Throwable t)
Log
warn
in class Log
Log.warn(java.lang.Object, java.lang.Throwable)
public boolean isErrorEnabled()
Log
isErrorEnabled
in class Log
Log.isErrorEnabled()
public void error(Object message)
Log
error
in class Log
Log.error(java.lang.Object)
Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.