patterntesting.runtime.log
Class LogRecorder

Package class diagram package LogRecorder
java.lang.Object
  extended by patterntesting.runtime.log.LogRecorder
All Implemented Interfaces:
org.slf4j.Logger

public final class LogRecorder
extends Object
implements org.slf4j.Logger

The Class LogRecorder which is able to record log messages.

Since:
09.10.2008
Version:
$Revision: 1.8 $
Author:
oliver

Field Summary
 
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
 
Constructor Summary
LogRecorder()
           
 
Method Summary
 void debug(org.slf4j.Marker arg0, String arg1)
          Debug.
 void debug(org.slf4j.Marker arg0, String arg1, Object... arg2)
          Debug.
 void debug(org.slf4j.Marker arg0, String arg1, Object arg2)
          Debug.
 void debug(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
          Debug.
 void debug(org.slf4j.Marker arg0, String arg1, Throwable arg2)
          Debug.
 void debug(String arg0)
          Debug.
 void debug(String arg0, Object... arg1)
          Debug.
 void debug(String arg0, Object arg1)
          Debug.
 void debug(String arg0, Object arg1, Object arg2)
          Debug.
 void debug(String arg0, Throwable arg1)
          Debug.
 void error(org.slf4j.Marker arg0, String arg1)
          Error.
 void error(org.slf4j.Marker arg0, String arg1, Object... arg2)
          Error.
 void error(org.slf4j.Marker arg0, String arg1, Object arg2)
          Error.
 void error(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
          Error.
 void error(org.slf4j.Marker arg0, String arg1, Throwable arg2)
          Error.
 void error(String arg0)
          Error.
 void error(String arg0, Object... arg1)
          Error.
 void error(String arg0, Object arg1)
          Error.
 void error(String arg0, Object arg1, Object arg2)
          Error.
 void error(String arg0, Throwable arg1)
          Error.
 String getName()
          Gets the name.
 int getNumberOfRecords()
          Gets the number of records.
 String getRecord()
          Gets the record.
 String getText()
          Gets the text.
 void info(org.slf4j.Marker arg0, String arg1)
          Info.
 void info(org.slf4j.Marker arg0, String arg1, Object... arg2)
          Info.
 void info(org.slf4j.Marker arg0, String arg1, Object arg2)
          Info.
 void info(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
          Info.
 void info(org.slf4j.Marker arg0, String arg1, Throwable arg2)
          Info.
 void info(String arg0)
          Info.
 void info(String arg0, Object... arg1)
          Info.
 void info(String arg0, Object arg1)
          Info.
 void info(String arg0, Object arg1, Object arg2)
          Info.
 void info(String arg0, Throwable arg1)
          Info.
 boolean isDebugEnabled()
          Checks if is debug enabled.
 boolean isDebugEnabled(org.slf4j.Marker arg0)
          Checks if is debug enabled.
 boolean isErrorEnabled()
          Checks if is error enabled.
 boolean isErrorEnabled(org.slf4j.Marker arg0)
          Checks if is error enabled.
 boolean isInfoEnabled()
          Checks if is info enabled.
 boolean isInfoEnabled(org.slf4j.Marker arg0)
          Checks if is info enabled.
 boolean isTraceEnabled()
          Checks if is trace enabled.
 boolean isTraceEnabled(org.slf4j.Marker arg0)
          Checks if is trace enabled.
 boolean isWarnEnabled()
          Checks if is warn enabled.
 boolean isWarnEnabled(org.slf4j.Marker arg0)
          Checks if is warn enabled.
 String toString()
          To string.
 void trace(org.slf4j.Marker arg0, String arg1)
          Trace.
 void trace(org.slf4j.Marker arg0, String arg1, Object... arg2)
          Trace.
 void trace(org.slf4j.Marker arg0, String arg1, Object arg2)
          Trace.
 void trace(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
          Trace.
 void trace(org.slf4j.Marker arg0, String arg1, Throwable arg2)
          Trace.
 void trace(String arg0)
          Trace.
 void trace(String arg0, Object... arg1)
          Trace.
 void trace(String arg0, Object arg1)
          Trace.
 void trace(String arg0, Object arg1, Object arg2)
          Trace.
 void trace(String arg0, Throwable arg1)
          Trace.
 void warn(org.slf4j.Marker arg0, String arg1)
          Warn.
 void warn(org.slf4j.Marker arg0, String arg1, Object... arg2)
          Warn.
 void warn(org.slf4j.Marker arg0, String arg1, Object arg2)
          Warn.
 void warn(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
          Warn.
 void warn(org.slf4j.Marker arg0, String arg1, Throwable arg2)
          Warn.
 void warn(String arg0)
          Warn.
 void warn(String arg0, Object... arg1)
          Warn.
 void warn(String arg0, Object arg1)
          Warn.
 void warn(String arg0, Object arg1, Object arg2)
          Warn.
 void warn(String arg0, Throwable arg1)
          Warn.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogRecorder

public LogRecorder()
Method Detail

debug

public void debug(String arg0)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
See Also:
Logger.debug(String)

debug

public void debug(String arg0,
                  Throwable arg1)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.debug(String, Throwable)

error

public void error(String arg0)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
See Also:
Logger.error(String)

error

public void error(String arg0,
                  Throwable arg1)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.error(String, Throwable)

info

public void info(String arg0)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
See Also:
Logger.info(String)

info

public void info(String arg0,
                 Throwable arg1)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.info(String, Throwable)

isDebugEnabled

public boolean isDebugEnabled()
Checks if is debug enabled.

Specified by:
isDebugEnabled in interface org.slf4j.Logger
Returns:
true, if is debug enabled
See Also:
Logger.isDebugEnabled()

isErrorEnabled

public boolean isErrorEnabled()
Checks if is error enabled.

Specified by:
isErrorEnabled in interface org.slf4j.Logger
Returns:
true, if is error enabled
See Also:
Logger.isErrorEnabled()

isInfoEnabled

public boolean isInfoEnabled()
Checks if is info enabled.

Specified by:
isInfoEnabled in interface org.slf4j.Logger
Returns:
true, if is info enabled
See Also:
Logger.isInfoEnabled()

isTraceEnabled

public boolean isTraceEnabled()
Checks if is trace enabled.

Specified by:
isTraceEnabled in interface org.slf4j.Logger
Returns:
true, if is trace enabled
See Also:
Logger.isTraceEnabled()

isWarnEnabled

public boolean isWarnEnabled()
Checks if is warn enabled.

Specified by:
isWarnEnabled in interface org.slf4j.Logger
Returns:
true, if is warn enabled
See Also:
Logger.isWarnEnabled()

trace

public void trace(String arg0)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
See Also:
Logger.trace(String)

trace

public void trace(String arg0,
                  Throwable arg1)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.trace(String, Throwable)

warn

public void warn(String arg0)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
See Also:
Logger.warn(String)

warn

public void warn(String arg0,
                 Throwable arg1)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.warn(String, Throwable)

getText

public String getText()
Gets the text.

Returns:
the text

getRecord

public String getRecord()
Gets the record.

Returns:
the record

getNumberOfRecords

public int getNumberOfRecords()
Gets the number of records.

Returns:
the number of records

toString

public String toString()
To string.

Overrides:
toString in class Object
Returns:
the string
See Also:
Object.toString()

debug

public void debug(String arg0,
                  Object arg1)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.debug(java.lang.String, java.lang.Object)

debug

public void debug(String arg0,
                  Object... arg1)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.debug(java.lang.String, java.lang.Object[])

debug

public void debug(org.slf4j.Marker arg0,
                  String arg1)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.debug(org.slf4j.Marker, java.lang.String)

debug

public void debug(String arg0,
                  Object arg1,
                  Object arg2)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.debug(java.lang.String, java.lang.Object, java.lang.Object)

debug

public void debug(org.slf4j.Marker arg0,
                  String arg1,
                  Object arg2)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.debug(org.slf4j.Marker, java.lang.String, java.lang.Object)

debug

public void debug(org.slf4j.Marker arg0,
                  String arg1,
                  Object... arg2)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.debug(org.slf4j.Marker, java.lang.String, java.lang.Object[])

debug

public void debug(org.slf4j.Marker arg0,
                  String arg1,
                  Throwable arg2)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.debug(org.slf4j.Marker, java.lang.String, java.lang.Throwable)

debug

public void debug(org.slf4j.Marker arg0,
                  String arg1,
                  Object arg2,
                  Object arg3)
Debug.

Specified by:
debug in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
arg3 - the arg3
See Also:
Logger.debug(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object)

error

public void error(String arg0,
                  Object arg1)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.error(java.lang.String, java.lang.Object)

error

public void error(String arg0,
                  Object... arg1)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.error(java.lang.String, java.lang.Object[])

error

public void error(org.slf4j.Marker arg0,
                  String arg1)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.error(org.slf4j.Marker, java.lang.String)

error

public void error(String arg0,
                  Object arg1,
                  Object arg2)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.error(java.lang.String, java.lang.Object, java.lang.Object)

error

public void error(org.slf4j.Marker arg0,
                  String arg1,
                  Object arg2)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.error(org.slf4j.Marker, java.lang.String, java.lang.Object)

error

public void error(org.slf4j.Marker arg0,
                  String arg1,
                  Object... arg2)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.error(org.slf4j.Marker, java.lang.String, java.lang.Object[])

error

public void error(org.slf4j.Marker arg0,
                  String arg1,
                  Throwable arg2)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.error(org.slf4j.Marker, java.lang.String, java.lang.Throwable)

error

public void error(org.slf4j.Marker arg0,
                  String arg1,
                  Object arg2,
                  Object arg3)
Error.

Specified by:
error in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
arg3 - the arg3
See Also:
Logger.error(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object)

getName

public String getName()
Gets the name.

Specified by:
getName in interface org.slf4j.Logger
Returns:
the name
See Also:
Logger.getName()

info

public void info(String arg0,
                 Object arg1)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.info(java.lang.String, java.lang.Object)

info

public void info(String arg0,
                 Object... arg1)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.info(java.lang.String, java.lang.Object[])

info

public void info(org.slf4j.Marker arg0,
                 String arg1)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.info(org.slf4j.Marker, java.lang.String)

info

public void info(String arg0,
                 Object arg1,
                 Object arg2)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.info(java.lang.String, java.lang.Object, java.lang.Object)

info

public void info(org.slf4j.Marker arg0,
                 String arg1,
                 Object arg2)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.info(org.slf4j.Marker, java.lang.String, java.lang.Object)

info

public void info(org.slf4j.Marker arg0,
                 String arg1,
                 Object... arg2)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.info(org.slf4j.Marker, java.lang.String, java.lang.Object[])

info

public void info(org.slf4j.Marker arg0,
                 String arg1,
                 Throwable arg2)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.info(org.slf4j.Marker, java.lang.String, java.lang.Throwable)

info

public void info(org.slf4j.Marker arg0,
                 String arg1,
                 Object arg2,
                 Object arg3)
Info.

Specified by:
info in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
arg3 - the arg3
See Also:
Logger.info(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object)

isDebugEnabled

public boolean isDebugEnabled(org.slf4j.Marker arg0)
Checks if is debug enabled.

Specified by:
isDebugEnabled in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
Returns:
true, if is debug enabled
See Also:
Logger.isDebugEnabled(org.slf4j.Marker)

isErrorEnabled

public boolean isErrorEnabled(org.slf4j.Marker arg0)
Checks if is error enabled.

Specified by:
isErrorEnabled in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
Returns:
true, if is error enabled
See Also:
Logger.isErrorEnabled(org.slf4j.Marker)

isInfoEnabled

public boolean isInfoEnabled(org.slf4j.Marker arg0)
Checks if is info enabled.

Specified by:
isInfoEnabled in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
Returns:
true, if is info enabled
See Also:
Logger.isInfoEnabled(org.slf4j.Marker)

isTraceEnabled

public boolean isTraceEnabled(org.slf4j.Marker arg0)
Checks if is trace enabled.

Specified by:
isTraceEnabled in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
Returns:
true, if is trace enabled
See Also:
Logger.isTraceEnabled(org.slf4j.Marker)

isWarnEnabled

public boolean isWarnEnabled(org.slf4j.Marker arg0)
Checks if is warn enabled.

Specified by:
isWarnEnabled in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
Returns:
true, if is warn enabled
See Also:
Logger.isWarnEnabled(org.slf4j.Marker)

trace

public void trace(String arg0,
                  Object arg1)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.trace(java.lang.String, java.lang.Object)

trace

public void trace(String arg0,
                  Object... arg1)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.trace(java.lang.String, java.lang.Object[])

trace

public void trace(org.slf4j.Marker arg0,
                  String arg1)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.trace(org.slf4j.Marker, java.lang.String)

trace

public void trace(String arg0,
                  Object arg1,
                  Object arg2)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.trace(java.lang.String, java.lang.Object, java.lang.Object)

trace

public void trace(org.slf4j.Marker arg0,
                  String arg1,
                  Object arg2)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.trace(org.slf4j.Marker, java.lang.String, java.lang.Object)

trace

public void trace(org.slf4j.Marker arg0,
                  String arg1,
                  Object... arg2)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.trace(org.slf4j.Marker, java.lang.String, java.lang.Object[])

trace

public void trace(org.slf4j.Marker arg0,
                  String arg1,
                  Throwable arg2)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.trace(org.slf4j.Marker, java.lang.String, java.lang.Throwable)

trace

public void trace(org.slf4j.Marker arg0,
                  String arg1,
                  Object arg2,
                  Object arg3)
Trace.

Specified by:
trace in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
arg3 - the arg3
See Also:
Logger.trace(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object)

warn

public void warn(String arg0,
                 Object arg1)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.warn(java.lang.String, java.lang.Object)

warn

public void warn(String arg0,
                 Object... arg1)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.warn(java.lang.String, java.lang.Object[])

warn

public void warn(org.slf4j.Marker arg0,
                 String arg1)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
See Also:
Logger.warn(org.slf4j.Marker, java.lang.String)

warn

public void warn(String arg0,
                 Object arg1,
                 Object arg2)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.warn(java.lang.String, java.lang.Object, java.lang.Object)

warn

public void warn(org.slf4j.Marker arg0,
                 String arg1,
                 Object arg2)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.warn(org.slf4j.Marker, java.lang.String, java.lang.Object)

warn

public void warn(org.slf4j.Marker arg0,
                 String arg1,
                 Object... arg2)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.warn(org.slf4j.Marker, java.lang.String, java.lang.Object[])

warn

public void warn(org.slf4j.Marker arg0,
                 String arg1,
                 Throwable arg2)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
See Also:
Logger.warn(org.slf4j.Marker, java.lang.String, java.lang.Throwable)

warn

public void warn(org.slf4j.Marker arg0,
                 String arg1,
                 Object arg2,
                 Object arg3)
Warn.

Specified by:
warn in interface org.slf4j.Logger
Parameters:
arg0 - the arg0
arg1 - the arg1
arg2 - the arg2
arg3 - the arg3
See Also:
Logger.warn(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object)


Copyright © 2002–2014 PatternTesting Team. All rights reserved.