it.eng.spago.util
Class PortletTracer

java.lang.Object
  extended byit.eng.spago.util.PortletTracer

public class PortletTracer
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
           
 
Constructor Summary
PortletTracer()
           
 
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPAGO

public static final java.lang.String SPAGO
See Also:
Constant Field Values
Constructor Detail

PortletTracer

public PortletTracer()
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