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 classLogger.Logstatic classLogger.LoggerLevel -
Field Summary
Fields Modifier and Type Field Description static Logger.LoggerLevellevel -
Constructor Summary
Constructors Constructor Description Logger() -
Method Summary
Modifier and Type Method Description static Logger.LoggetLogger()Returns default loggerstatic Logger.LoggetLogger(java.lang.Class<?> clazz)Gets the logger for the particular classstatic Logger.LoggetLogger(java.lang.String tag)Gets a logger for an arbitary string tagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
level
-
-
Constructor Details
-
Logger
public Logger()
-
-
Method Details
-
getLogger
Returns default logger- Returns:
- The default logger
-
getLogger
Gets the logger for the particular class- Parameters:
clazz- The class- Returns:
- The logger
-
getLogger
Gets a logger for an arbitary string tag- Parameters:
tag- The tag- Returns:
- The logger
-