Package org.restheart.mongodb.utils
Class LogUtils
- java.lang.Object
-
- org.restheart.mongodb.utils.LogUtils
-
public class LogUtils extends Object
- Author:
- Andrea Di Cesare
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogUtils.Level
-
Constructor Summary
Constructors Constructor Description LogUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
boxedError(org.slf4j.Logger LOGGER, String... rows)
static void
boxedInfo(org.slf4j.Logger LOGGER, String... rows)
static void
boxedMessage(org.slf4j.Logger LOGGER, LogUtils.Level level, org.fusesource.jansi.Ansi.Color firstRowColor, org.fusesource.jansi.Ansi.Color rowsColor, String... rows)
static void
boxedWarn(org.slf4j.Logger LOGGER, String... rows)
static void
log(org.slf4j.Logger logger, LogUtils.Level level, String format, Object... argArray)
-
-
-
Method Detail
-
log
public static void log(org.slf4j.Logger logger, LogUtils.Level level, String format, Object... argArray)
- Parameters:
logger
-level
-format
-argArray
-
-
boxedError
public static void boxedError(org.slf4j.Logger LOGGER, String... rows)
- Parameters:
LOGGER
-rows
-
-
boxedWarn
public static void boxedWarn(org.slf4j.Logger LOGGER, String... rows)
- Parameters:
LOGGER
-rows
-
-
boxedInfo
public static void boxedInfo(org.slf4j.Logger LOGGER, String... rows)
- Parameters:
LOGGER
-rows
-
-
boxedMessage
public static void boxedMessage(org.slf4j.Logger LOGGER, LogUtils.Level level, org.fusesource.jansi.Ansi.Color firstRowColor, org.fusesource.jansi.Ansi.Color rowsColor, String... rows)
- Parameters:
LOGGER
-level
-firstRowColor
-rowsColor
-rows
-
-
-