public abstract class Message extends Object
Caveats:
Modifier and Type | Field and Description |
---|---|
protected int[] |
argIndices |
protected char[][] |
fmtParts |
protected int |
minChars |
protected TreeLogger.Type |
type |
Modifier | Constructor and Description |
---|---|
protected |
Message(TreeLogger.Type type,
String fmt,
int args)
Creates a lazily-formatted message.
|
protected final TreeLogger.Type type
protected final char[][] fmtParts
protected final int[] argIndices
protected final int minChars
protected Message(TreeLogger.Type type, String fmt, int args)
protected final Formatter getFormatter(Class<?> c)
c
- a Classprotected final Formatter getFormatter(File f)
f
- a Fileprotected final Formatter getFormatter(Integer i)
i
- an Integerprotected Formatter getFormatter(Long l)
l
- a Longprotected final Formatter getFormatter(Method m)
m
- a Methodprotected final Formatter getFormatter(String s)
s
- a Stringprotected final Formatter getFormatter(String[] sa)
sa
- a String arrayprotected final Formatter getFormatter(URL u)
u
- a URLprotected 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 arg1, Object arg2, Formatter fmt1, Formatter fmt2, Throwable caught)
protected TreeLogger branch(TreeLogger logger, Object arg1, Object arg2, Object arg3, Formatter fmt1, Formatter fmt2, Formatter fmt3, Throwable caught)
protected TreeLogger branch(TreeLogger logger, Object arg1, Object arg2, Object arg3, Object arg4, Formatter fmt1, Formatter fmt2, Formatter fmt3, Formatter fmt4, 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.