Package com.prineside.tdi2.utils.logging
Class LogLevel
java.lang.Object
com.prineside.tdi2.utils.logging.LogLevel
Log levels used in TLog.
 For critical errors, throw exception.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteSystem.out / Debugging info, not requested to be printedstatic final byteSystem.err / Severe issue that may lead to data lossstatic final byteSystem.out / Regular info, when requested to be printed (such as describe())static final byteSystem.err / Not critical issue - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic bytestatic StringgetName(byte level) static chargetShortName(byte level) static booleanisDebug()static booleanisInfo()static booleanstatic voidsetCurrent(byte v) static byteshortNameToLevel(char level)  
- 
Field Details
- 
DEBUG
public static final byte DEBUGSystem.out / Debugging info, not requested to be printed- See Also:
 
 - 
INFO
public static final byte INFOSystem.out / Regular info, when requested to be printed (such as describe())- See Also:
 
 - 
WARNING
public static final byte WARNINGSystem.err / Not critical issue- See Also:
 
 - 
ERROR
public static final byte ERRORSystem.err / Severe issue that may lead to data loss- See Also:
 
 
 - 
 - 
Constructor Details
- 
LogLevel
public LogLevel() 
 - 
 - 
Method Details
- 
getName
 - 
getShortName
public static char getShortName(byte level)  - 
shortNameToLevel
public static byte shortNameToLevel(char level)  - 
isDebug
public static boolean isDebug() - 
setCurrent
public static void setCurrent(byte v)  - 
getCurrent
public static byte getCurrent() - 
isInfo
public static boolean isInfo() - 
isWarning
public static boolean isWarning() 
 -