public abstract class AnsiLog extends Object
FINEST -> TRACE FINER -> DEBUG FINE -> DEBUG CONFIG -> INFO INFO -> INFO WARNING -> WARN SEVERE -> ERROR
org.slf4j.bridge.SLF4JBridgeHandler| Modifier and Type | Method and Description |
|---|---|
static String |
black(String msg) |
static String |
blue(String msg) |
static String |
cyan(String msg) |
static void |
debug(String msg) |
static void |
debug(String format,
Object... arguments) |
static void |
debug(Throwable t) |
static boolean |
enableColor() |
static void |
error(String msg) |
static void |
error(String format,
Object... arguments) |
static void |
error(Throwable t) |
static String |
green(String msg) |
static void |
info(String msg) |
static void |
info(String format,
Object... arguments) |
static void |
info(Throwable t) |
static Level |
level()
get current logger Level
|
static Level |
level(Level level)
set logger Level
|
static String |
magenta(String msg) |
static String |
red(String msg) |
static void |
trace(String msg) |
static void |
trace(String format,
Object... arguments) |
static void |
trace(Throwable t) |
static void |
warn(String msg) |
static void |
warn(String format,
Object... arguments) |
static void |
warn(Throwable t) |
static String |
white(String msg) |
static String |
yellow(String msg) |
public static Level LEVEL
public static boolean enableColor()
public static Level level(Level level)
level - Levelpublic static Level level()
public static void trace(String msg)
public static void trace(Throwable t)
public static void debug(String msg)
public static void debug(Throwable t)
public static void info(String msg)
public static void info(Throwable t)
public static void warn(String msg)
public static void warn(Throwable t)
public static void error(String msg)
public static void error(Throwable t)
Copyright © 2021. All rights reserved.