com.tivoli.jflt
Interface LogType


public interface LogType

This interface defines the message types for JFLT.

The Java Flexible Logging Toolkit does not make a distinction between the logging of messages and the logging of trace data. The LogAdapter specialization could be in charge of this. Moreover, it is responsability of the LogAdapter implementation to provide the necessary mapping between these types and the types supported by the specific logging toolkit.

The JFLT message types may not exactly correspond to message types recognized or supported by the various logging toolkits. Therefore it becomes necessary to map each JFLT message type to a "reasonable" type recognized by the underlying toolkit.

Version:
1.1
Author:
Raimondo Castino, Cosimo Vampo

Field Summary
static long TYPE_ALL
          Defines a mask containing all of the possible types.
static long TYPE_API
          Defines an application programming interface (API) trace point.
static long TYPE_CALLBACK
          Defines a callback method trace point.
static long TYPE_ENTRY
          Defines method entry trace points.
static long TYPE_ERR
          Defines an error message.
static long TYPE_ERROR
          Defines an error message.
static long TYPE_ERROR_EXC
          Defines an error or exception condition trace point.
static long TYPE_EXIT
          Defines method exit trace points.
static long TYPE_FATAL
          Defines a fatal message.
static long TYPE_INFO
          Defines an informational message.
static long TYPE_INFORMATION
          Defines a warning message.
static long TYPE_LEVEL1
          Defines a "low-detail" trace point.
static long TYPE_LEVEL2
          Defines a "medium-detail" trace point.
static long TYPE_LEVEL3
          Defines a "high-detail" trace point.
static long TYPE_MISC_DATA
          Defines a miscellaneous data trace point.
static long TYPE_NONE
          Defines a "null" type.
static long TYPE_OBJ_CREATE
          Defines an object creation (constructor) trace point.
static long TYPE_OBJ_DELETE
          Defines an object deletion (destructor) trace point.
static long TYPE_PERF
          Defines a performance-monitoring trace point.
static long TYPE_PRIVATE
          Defines a private method trace point.
static long TYPE_PUBLIC
          Defines a public method trace point.
static long TYPE_STATIC
          Defines a static method trace point.
static long TYPE_SVC
          Defines a service code trace point.
static long TYPE_WARN
          Defines a warning message.
static long TYPE_WARNING
          Defines a warning message.
 

Field Detail

TYPE_NONE

public static final long TYPE_NONE
Defines a "null" type.

TYPE_ALL

public static final long TYPE_ALL
Defines a mask containing all of the possible types.

TYPE_INFORMATION

public static final long TYPE_INFORMATION
Defines a warning message. Use this type to indicate conditions that are worth noting but that do not require a user to take any precautions or perform an action. Sparing use of this type is suggested. An informational message is less severe than a warning message. This value is the same as TYPE_INFO.

TYPE_INFO

public static final long TYPE_INFO
Defines an informational message. This value is the same as TYPE_INFORMATION.

TYPE_WARNING

public static final long TYPE_WARNING
Defines a warning message. Use this type to inform a user that an abnormal condition has been detected. The particular condition will dictate whether the user has to take any action. A warning message is less severe than an error message. This value is the same as TYPE_WARN.

TYPE_WARN

public static final long TYPE_WARN
Defines a warning message. This value is the same as TYPE_WARNING.

TYPE_ERROR

public static final long TYPE_ERROR
Defines an error message. Defines an error message. Use this type to inform the user of a serious failure in the execution of a program. An error message is less severe than a fatal message. This value is the same as TYPE_ERR.

TYPE_ERR

public static final long TYPE_ERR
Defines an error message. This value is the same as TYPE_ERROR.

TYPE_FATAL

public static final long TYPE_FATAL
Defines a fatal message. Use this type to report an error from which the program cannot recover. A fatal message is the most severe message.

TYPE_API

public static final long TYPE_API
Defines an application programming interface (API) trace point.

TYPE_CALLBACK

public static final long TYPE_CALLBACK
Defines a callback method trace point.

TYPE_ENTRY

public static final long TYPE_ENTRY
Defines method entry trace points.

TYPE_EXIT

public static final long TYPE_EXIT
Defines method exit trace points.

TYPE_ERROR_EXC

public static final long TYPE_ERROR_EXC
Defines an error or exception condition trace point.

TYPE_MISC_DATA

public static final long TYPE_MISC_DATA
Defines a miscellaneous data trace point.

TYPE_OBJ_CREATE

public static final long TYPE_OBJ_CREATE
Defines an object creation (constructor) trace point.

TYPE_OBJ_DELETE

public static final long TYPE_OBJ_DELETE
Defines an object deletion (destructor) trace point.

TYPE_PRIVATE

public static final long TYPE_PRIVATE
Defines a private method trace point.

TYPE_PUBLIC

public static final long TYPE_PUBLIC
Defines a public method trace point.

TYPE_STATIC

public static final long TYPE_STATIC
Defines a static method trace point.

TYPE_SVC

public static final long TYPE_SVC
Defines a service code trace point.

TYPE_PERF

public static final long TYPE_PERF
Defines a performance-monitoring trace point.

TYPE_LEVEL1

public static final long TYPE_LEVEL1
Defines a "low-detail" trace point.

TYPE_LEVEL2

public static final long TYPE_LEVEL2
Defines a "medium-detail" trace point.

TYPE_LEVEL3

public static final long TYPE_LEVEL3
Defines a "high-detail" trace point.