public abstract class Message extends Object
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.
|
Modifier and Type | Method and Description |
---|---|
protected Formatter |
getFormatter(Class<?> c) |
protected Formatter |
getFormatter(File f) |
protected Formatter |
getFormatter(Integer i) |
protected Formatter |
getFormatter(Long l) |
protected Formatter |
getFormatter(Method m) |
protected Formatter |
getFormatter(String s) |
protected Formatter |
getFormatter(String[] sa) |
protected Formatter |
getFormatter(URL u) |
protected Formatter |
getToStringFormatter() |
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()
Copyright © 2018. All rights reserved.