public class NBootLog extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NBootLog.LogOp |
| Modifier and Type | Field and Description |
|---|---|
static DateTimeFormatter |
DEFAULT_DATE_TIME_FORMATTER
Universal Data and time format "yyyy-MM-dd HH:mm:ss.SSS"
|
| Constructor and Description |
|---|
NBootLog() |
NBootLog(NBootOptionsInfo bootTerminal) |
| Modifier and Type | Method and Description |
|---|---|
PrintStream |
err() |
void |
err(String msg,
Object... p) |
void |
errln(String msg,
Object... p) |
void |
errln(Throwable exception) |
void |
error(NBootMsg message) |
void |
error(NBootMsg message,
Throwable e) |
boolean |
isLoggable(Level lvl) |
boolean |
isLoggableFile(Level lvl) |
boolean |
isLoggableTerm(Level lvl) |
void |
log(Level lvl,
String logVerb,
NBootMsg message) |
void |
log(Level lvl,
String logVerb,
NBootMsg message,
Throwable err) |
void |
log(Level level,
String verb,
Supplier<NBootMsg> msgSupplier,
Supplier<Throwable> errorSupplier) |
void |
log(LogRecord record) |
void |
outln(String msg,
Object... p) |
String |
readLine() |
void |
setOptions(NBootOptionsInfo options) |
void |
warn(NBootMsg message) |
NBootLog.LogOp |
with() |
public static final DateTimeFormatter DEFAULT_DATE_TIME_FORMATTER
public NBootLog()
public NBootLog(NBootOptionsInfo bootTerminal)
public void warn(NBootMsg message)
public void error(NBootMsg message)
public void log(Level level, String verb, Supplier<NBootMsg> msgSupplier, Supplier<Throwable> errorSupplier)
public void log(LogRecord record)
public NBootLog.LogOp with()
public boolean isLoggableTerm(Level lvl)
public boolean isLoggableFile(Level lvl)
public boolean isLoggable(Level lvl)
public void setOptions(NBootOptionsInfo options)
public PrintStream err()
public void errln(Throwable exception)
public String readLine()
Copyright © 2025 vpc open source initiative. All rights reserved.