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 interface
Logging.LoggerIf
An interface forLogger
.
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEBUG
-
Constructor Summary
Constructors Constructor Description Logging()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
alignLevel(Logging.LoggerIf l)
Align log-level of given logger to the root logger's level.static void
alignLevel(Logging.LoggerIf l, Level level)
Align log-level of given logger and all its handlers to the given level.static String
getCanonicalName(Level level)
static Logging.LoggerIf
getLogger()
Returns the root package logger.static Logging.LoggerIf
getLogger(Class<?> clazz)
Returns the demanded logger, while aligning its log-level to the root logger's level.static Logging.LoggerIf
getLogger(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.
-
-