Class RundeckLogFormat
- java.lang.Object
-
- com.dtolabs.rundeck.core.logging.internal.RundeckLogFormat
-
- All Implemented Interfaces:
LineLogFormat
,OutputLogFormat
public class RundeckLogFormat extends java.lang.Object implements OutputLogFormat, LineLogFormat
$INTERFACE is ... User: greg Date: 5/21/13 Time: 2:03 PM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RundeckLogFormat.RDFormatItem
-
Nested classes/interfaces inherited from interface com.dtolabs.rundeck.core.logging.internal.LineLogFormat
LineLogFormat.FormatItem
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_EVENT_TYPE
static LogLevel
DEFAULT_LOG_LEVEL
static java.lang.String
DELIM
static java.lang.String
FILE_END
static java.lang.String
FILE_START
static java.lang.String
FORMAT_MIME
static java.lang.String
PIPE
-
Constructor Summary
Constructors Constructor Description RundeckLogFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHead()
java.lang.String
getTail()
java.lang.String
outputBegin()
java.lang.String
outputEvent(LogEvent entry)
java.lang.String
outputFinish()
LineLogFormat.FormatItem
parseLine(java.lang.String line)
Parse the log line, and if aany log entries are completed add them to the bufferlong
seekBackwards(java.io.File file, int count)
-
-
-
Field Detail
-
FORMAT_MIME
public static final java.lang.String FORMAT_MIME
- See Also:
- Constant Field Values
-
DELIM
public static final java.lang.String DELIM
- See Also:
- Constant Field Values
-
PIPE
public static final java.lang.String PIPE
-
FILE_START
public static final java.lang.String FILE_START
- See Also:
- Constant Field Values
-
FILE_END
public static final java.lang.String FILE_END
- See Also:
- Constant Field Values
-
DEFAULT_EVENT_TYPE
public static final java.lang.String DEFAULT_EVENT_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_LOG_LEVEL
public static final LogLevel DEFAULT_LOG_LEVEL
-
-
Method Detail
-
getHead
public java.lang.String getHead()
-
getTail
public java.lang.String getTail()
-
outputBegin
public java.lang.String outputBegin()
- Specified by:
outputBegin
in interfaceOutputLogFormat
-
outputFinish
public java.lang.String outputFinish()
- Specified by:
outputFinish
in interfaceOutputLogFormat
-
outputEvent
public java.lang.String outputEvent(LogEvent entry)
- Specified by:
outputEvent
in interfaceOutputLogFormat
-
parseLine
public LineLogFormat.FormatItem parseLine(java.lang.String line)
Parse the log line, and if aany log entries are completed add them to the buffer- Specified by:
parseLine
in interfaceLineLogFormat
- Parameters:
line
-
-
seekBackwards
public long seekBackwards(java.io.File file, int count)
- Specified by:
seekBackwards
in interfaceLineLogFormat
-
-