public class LogUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isDebugLevel()
Allows to determine if logging
LogLevel#DEBUG . |
static void |
logDebug(String message)
Log
LogLevel#DEBUG . |
static void |
logDebug(String message,
Throwable cause)
Log
LogLevel#DEBUG . |
static void |
logError(String message)
Log
LogLevel#ERROR . |
static void |
logError(String message,
Throwable cause)
Log
LogLevel#ERROR . |
public static boolean isDebugLevel()
LogLevel#DEBUG
.true
if logging LogLevel#DEBUG
.public static void logDebug(String message)
LogLevel#DEBUG
.message
- Message.public static void logDebug(String message, Throwable cause)
LogLevel#DEBUG
.message
- Message.cause
- Cause.public static void logError(String message)
LogLevel#ERROR
.message
- Message.Copyright © 2005–2016. All rights reserved.