Package gaiasky.util
Class Logger
- java.lang.Object
-
- gaiasky.util.Logger
-
public class Logger extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Logger.Log
static class
Logger.LoggerLevel
-
Field Summary
Fields Modifier and Type Field Description static Logger.LoggerLevel
level
-
Constructor Summary
Constructors Constructor Description Logger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Logger.Log
getLogger()
Returns default loggerstatic Logger.Log
getLogger(java.lang.Class<?> clazz)
Gets the logger for the particular classstatic Logger.Log
getLogger(java.lang.String tag)
Gets a logger for an arbitary string tag
-
-
-
Field Detail
-
level
public static Logger.LoggerLevel level
-
-
Method Detail
-
getLogger
public static Logger.Log getLogger()
Returns default logger- Returns:
- The default logger
-
getLogger
public static Logger.Log getLogger(java.lang.Class<?> clazz)
Gets the logger for the particular class- Parameters:
clazz
- The class- Returns:
- The logger
-
getLogger
public static Logger.Log getLogger(java.lang.String tag)
Gets a logger for an arbitary string tag- Parameters:
tag
- The tag- Returns:
- The logger
-
-