@Immutable public static final class Drain.Line.Simple extends Object implements Drain.Line
Drain.Line.Simple| Constructor and Description |
|---|
Drain.Line.Simple(long msec,
Level level,
String message)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
has(String text)
The text has a line inside.
|
Level |
level()
Log level of the line.
|
long |
msec()
Milliseconds from log start.
|
static Drain.Line |
parse(String text)
Parse it back to live (or runtime exception if not found).
|
String |
toString() |
public Drain.Line.Simple(long msec,
@NotNull(message="log level can\'t be NULL")
Level level,
@NotNull(message="message can\'t be NULL")
String message)
msec - When it's happening, msec from startlevel - The levelmessage - The messagepublic long msec()
Drain.Linemsec in interface Drain.Linepublic Level level()
Drain.Linelevel in interface Drain.Linepublic static boolean has(String text)
text - Text to trypublic static Drain.Line parse(String text)
text - Text to parseCopyright © 2009–2014 Rultor Inc.. All rights reserved.