Package com.jogamp.gluegen
Class Logging
- java.lang.Object
-
- com.jogamp.gluegen.Logging
-
public class Logging extends Object
- Author:
- Michael Bien, et.al.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLogging.LoggerIfAn interface forLogger.
-
Field Summary
Fields Modifier and Type Field Description static booleanDEBUG
-
Constructor Summary
Constructors Constructor Description Logging()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidalignLevel(Logging.LoggerIf l)Align log-level of given logger to the root logger's level.static voidalignLevel(Logging.LoggerIf l, Level level)Align log-level of given logger and all its handlers to the given level.static StringgetCanonicalName(Level level)static Logging.LoggerIfgetLogger()Returns the root package logger.static Logging.LoggerIfgetLogger(Class<?> clazz)Returns the demanded logger, while aligning its log-level to the root logger's level.static Logging.LoggerIfgetLogger(String packageName, String simpleClassName)Returns the demanded logger, while aligning its log-level to the root logger's level.
-
-
-
Method Detail
-
getLogger
public static Logging.LoggerIf getLogger()
Returns the root package logger.
-
getLogger
public static Logging.LoggerIf getLogger(Class<?> clazz)
Returns the demanded logger, while aligning its log-level to the root logger's level.
-
getLogger
public static Logging.LoggerIf getLogger(String packageName, String simpleClassName)
Returns the demanded logger, while aligning its log-level to the root logger's level.
-
alignLevel
public static void alignLevel(Logging.LoggerIf l)
Align log-level of given logger to the root logger's level.
-
alignLevel
public static void alignLevel(Logging.LoggerIf l, Level level)
Align log-level of given logger and all its handlers to the given level.
-
-