org.objectweb.jonas.common
Class Trace

java.lang.Object
  |
  +--org.objectweb.jonas.common.Trace

public class Trace
extends java.lang.Object

This class is provided only for backward compatibility for old test suite.

Author:
Philippe Durieux

Field Summary
static int DB_1
           
static int DB_31
           
 
Method Summary
static void configure()
          nothing to do.
static void errln(java.lang.String s)
          Sends the trace message to the jonas logger as error level.
static org.objectweb.util.monolog.api.Logger getLogger()
           
static void out(java.lang.String s)
          Sends the trace message to the trace output device.
static void outln(int f, java.lang.String s)
          Sends the trace message to the trace output device if flag is configured
static void outln(java.lang.String s)
          Sends the trace message to the trace output device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DB_1

public static final int DB_1

DB_31

public static final int DB_31
Method Detail

getLogger

public static org.objectweb.util.monolog.api.Logger getLogger()
Returns:
the logger instance for tests

configure

public static void configure()
nothing to do.

outln

public static void outln(int f,
                         java.lang.String s)
Sends the trace message to the trace output device if flag is configured
Parameters:
f - this flag must be configured to get the message on output
s - message to send

outln

public static void outln(java.lang.String s)
Sends the trace message to the trace output device.
Parameters:
s - message to send

out

public static void out(java.lang.String s)
Sends the trace message to the trace output device.
Parameters:
s - message to send

errln

public static void errln(java.lang.String s)
Sends the trace message to the jonas logger as error level.
Parameters:
s - message to send