public abstract class Message extends Object
Caveats:
Modifier and Type | Field and Description |
---|---|
protected int[] |
argIndices |
protected char[][] |
fmtParts |
protected TreeLogger.Type |
type |
Modifier | Constructor and Description |
---|---|
protected |
Message(TreeLogger.Type type,
String fmt,
int args)
Creates a lazily-formatted message.
|
Modifier and Type | Method and Description |
---|---|
protected TreeLogger |
branch(TreeLogger logger,
Object[] args,
Object[] fmts,
Throwable caught) |
protected TreeLogger |
branch(TreeLogger logger,
Object arg,
Formatter fmt,
Throwable caught) |
protected TreeLogger |
branch(TreeLogger logger,
Throwable caught) |
protected String |
compose(Object[] args,
Object[] fmts) |
protected Formatter |
getFormatter(Class<?> c) |
protected Formatter |
getFormatter(Integer i) |
protected Formatter |
getFormatter(String s) |
protected Formatter |
getToStringFormatter() |
protected void |
log(TreeLogger logger,
Object[] args,
Object[] fmts,
Throwable caught) |
protected void |
log(TreeLogger logger,
Object arg,
Formatter fmt,
Throwable caught) |
protected void |
log(TreeLogger logger,
Object arg1,
Object arg2,
Formatter fmt1,
Formatter fmt2,
Throwable caught) |
protected void |
log(TreeLogger logger,
Object arg1,
Object arg2,
Object arg3,
Formatter fmt1,
Formatter fmt2,
Formatter fmt3,
Throwable caught) |
protected void |
log(TreeLogger logger,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Formatter fmt1,
Formatter fmt2,
Formatter fmt3,
Formatter fmt4,
Throwable caught) |
protected void |
log(TreeLogger logger,
Throwable caught) |
protected final TreeLogger.Type type
protected final char[][] fmtParts
protected final int[] argIndices
protected Message(TreeLogger.Type type, String fmt, int args)
protected final Formatter getFormatter(Class<?> c)
c
- a Classprotected final Formatter getFormatter(Integer i)
i
- an Integerprotected final Formatter getFormatter(String s)
s
- a Stringprotected final Formatter getToStringFormatter()
protected TreeLogger branch(TreeLogger logger, Throwable caught)
protected TreeLogger branch(TreeLogger logger, Object arg, Formatter fmt, Throwable caught)
protected TreeLogger branch(TreeLogger logger, Object[] args, Object[] fmts, Throwable caught)
protected void log(TreeLogger logger, Throwable caught)
protected void log(TreeLogger logger, Object arg, Formatter fmt, Throwable caught)
protected void log(TreeLogger logger, Object arg1, Object arg2, Formatter fmt1, Formatter fmt2, Throwable caught)
protected void log(TreeLogger logger, Object arg1, Object arg2, Object arg3, Formatter fmt1, Formatter fmt2, Formatter fmt3, Throwable caught)
protected void log(TreeLogger logger, Object arg1, Object arg2, Object arg3, Object arg4, Formatter fmt1, Formatter fmt2, Formatter fmt3, Formatter fmt4, Throwable caught)
protected void log(TreeLogger logger, Object[] args, Object[] fmts, Throwable caught)
Copyright © 2018. All rights reserved.