it.eng.spagobi.utilities
Class SpagoBITracer

java.lang.Object
  extended by it.eng.spagobi.utilities.SpagoBITracer

public class SpagoBITracer
extends java.lang.Object

This class is for centralize the logging activities off all SpagoBI components, and to give a common format to logging message. Internally the TracerSingleton class of spago is used for implementation

Author:
Zoppello

Field Summary
static java.lang.String SPAGO_BI
          Comment for SPAGO_BI
 
Constructor Summary
SpagoBITracer()
           
 
Method Summary
static void critical(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message)
          Adds a tracing information into the SpagoBI log file, with CRITICAL importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void critical(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Exception e)
          Adds a tracing information into the SpagoBI log file, with CRITICAL importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void debug(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message)
          Adds a tracing information into the SpagoBI log file, with DEBUG importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void debug(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Exception e)
          Adds a tracing information into the SpagoBI log file, with DEBUG importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void info(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message)
          Adds a tracing information into the SpagoBI log file, with INFORMATION importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void info(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Exception e)
          Adds a tracing information into the SpagoBI log file, with INFORMATION importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void major(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message)
          Adds a tracing information into the SpagoBI log file, with MAJOR importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void major(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Exception e)
          Adds a tracing information into the SpagoBI log file, with MAJOR importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void minor(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message)
          Adds a tracing information into the SpagoBI log file, with MINOR importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void minor(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Exception e)
          Adds a tracing information into the SpagoBI log file, with MINOR importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void warning(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message)
          Adds a tracing information into the SpagoBI log file, with WARNING importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
static void warning(java.lang.String moduleName, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Exception e)
          Adds a tracing information into the SpagoBI log file, with WARNING importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPAGO_BI

public static final java.lang.String SPAGO_BI
Comment for SPAGO_BI

See Also:
Constant Field Values
Constructor Detail

SpagoBITracer

public SpagoBITracer()
Method Detail

debug

public static void debug(java.lang.String moduleName,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String message)
Adds a tracing information into the SpagoBI log file, with DEBUG importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message

info

public static void info(java.lang.String moduleName,
                        java.lang.String className,
                        java.lang.String methodName,
                        java.lang.String message)
Adds a tracing information into the SpagoBI log file, with INFORMATION importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message

warning

public static void warning(java.lang.String moduleName,
                           java.lang.String className,
                           java.lang.String methodName,
                           java.lang.String message)
Adds a tracing information into the SpagoBI log file, with WARNING importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message

minor

public static void minor(java.lang.String moduleName,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String message)
Adds a tracing information into the SpagoBI log file, with MINOR importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message

major

public static void major(java.lang.String moduleName,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String message)
Adds a tracing information into the SpagoBI log file, with MAJOR importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message

critical

public static void critical(java.lang.String moduleName,
                            java.lang.String className,
                            java.lang.String methodName,
                            java.lang.String message)
Adds a tracing information into the SpagoBI log file, with CRITICAL importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message

debug

public static void debug(java.lang.String moduleName,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String message,
                         java.lang.Exception e)
Adds a tracing information into the SpagoBI log file, with DEBUG importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String. It is a second implementation giving the possibility to take as input also an exception: it is useful because many times tracing is called after having caught an exception.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message
e - The occurred Exception

info

public static void info(java.lang.String moduleName,
                        java.lang.String className,
                        java.lang.String methodName,
                        java.lang.String message,
                        java.lang.Exception e)
Adds a tracing information into the SpagoBI log file, with INFORMATION importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String. It is a second implementation giving the possibility to take as input also an exception: it is useful because many times tracing is called after having caught an exception.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message
e - The occurred Exception

warning

public static void warning(java.lang.String moduleName,
                           java.lang.String className,
                           java.lang.String methodName,
                           java.lang.String message,
                           java.lang.Exception e)
Adds a tracing information into the SpagoBI log file, with WARNING importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String. It is a second implementation giving the possibility to take as input also an exception: it is useful because many times tracing is called after having caught an exception.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message
e - The occurred Exception

minor

public static void minor(java.lang.String moduleName,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String message,
                         java.lang.Exception e)
Adds a tracing information into the SpagoBI log file, with MINOR importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String. It is a second implementation giving the possibility to take as input also an exception: it is useful because many times tracing is called after having caught an exception.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message
e - The occurred Exception

major

public static void major(java.lang.String moduleName,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String message,
                         java.lang.Exception e)
Adds a tracing information into the SpagoBI log file, with MAJOR importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String. It is a second implementation giving the possibility to take as input also an exception: it is useful because many times tracing is called after having caught an exception.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message
e - The occurred Exception

critical

public static void critical(java.lang.String moduleName,
                            java.lang.String className,
                            java.lang.String methodName,
                            java.lang.String message,
                            java.lang.Exception e)
Adds a tracing information into the SpagoBI log file, with CRITICAL importance (see Spago Tracing docuentation for more details). it has as input all information needed for tracing: the module into whom tracing has been call, those of the relative class and method, the tracing message String. It is a second implementation giving the possibility to take as input also an exception: it is useful because many times tracing is called after having caught an exception.

Parameters:
moduleName - The Module name String
className - The Class name String
methodName - The Method name String
message - The Tracing message
e - The occurred Exception