Package gov.nasa.worldwind.util
Class Logger
- java.lang.Object
-
- gov.nasa.worldwind.util.Logger
-
public class Logger extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Logger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isLoggable(int priority)
static void
log(int priority, java.lang.String message)
static void
log(int priority, java.lang.String message, java.lang.Throwable tr)
static java.lang.String
logMessage(int level, java.lang.String className, java.lang.String methodName, java.lang.String message)
static java.lang.String
logMessage(int level, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Throwable tr)
static java.lang.String
makeMessage(java.lang.String className, java.lang.String methodName, java.lang.String message)
-
-
-
Field Detail
-
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
-
WARN
public static final int WARN
- See Also:
- Constant Field Values
-
INFO
public static final int INFO
- See Also:
- Constant Field Values
-
DEBUG
public static final int DEBUG
- See Also:
- Constant Field Values
-
-
Method Detail
-
isLoggable
public static boolean isLoggable(int priority)
-
log
public static void log(int priority, java.lang.String message)
-
log
public static void log(int priority, java.lang.String message, java.lang.Throwable tr)
-
logMessage
public static java.lang.String logMessage(int level, java.lang.String className, java.lang.String methodName, java.lang.String message)
-
logMessage
public static java.lang.String logMessage(int level, java.lang.String className, java.lang.String methodName, java.lang.String message, java.lang.Throwable tr)
-
makeMessage
public static java.lang.String makeMessage(java.lang.String className, java.lang.String methodName, java.lang.String message)
-
-