Package org.ssclab.log
Class SscLevel
- java.lang.Object
-
- java.util.logging.Level
-
- org.ssclab.log.SscLevel
-
- All Implemented Interfaces:
Serializable
public class SscLevel extends Level
The SscLevel class defines custom logging levels for the SSC application. These levels extend the standard logging levels provided byLevel
.Custom log levels include:
- LOG - General logging level (priority 811)
- TIME - Logging level for timing-related messages (priority 821)
- NOTE - Logging level for notes and annotations (priority 831)
- ERROR - Logging level for error messages (priority 990)
- See Also:
- Serialized Form
-
-
Field Detail
-
LOG
public static final Level LOG
Custom log level for general messages. It has a priority value of 811.
-
TIME
public static final Level TIME
Custom log level for timing-related messages. It has a priority value of 821.
-
NOTE
public static final Level NOTE
Custom log level for notes or annotations. It has a priority value of 831.
-
ERROR
public static final Level ERROR
Custom log level for error messages. It has a priority value of 990.
-
-
Constructor Detail
-
SscLevel
protected SscLevel(String name, int value)
Constructs a new SscLevel object with a specified name and integer priority.- Parameters:
name
- the name of the log level (e.g., "LOG", "TIME", "NOTE", "ERROR")value
- the integer priority value for this log level
-
-