public class Log extends Object
Modifier and Type | Method and Description |
---|---|
Log |
append(String s)
Add text to the log String being assembled.
|
String |
finish()
Retrieves the result assembled by this instance.
|
void |
indentLine()
Increases the indentation of the current line and all following lines.
|
void |
indentLine(String indentString)
Increases the indentation of the current line and all following lines.
|
void |
newLine()
Moves to the next line.
|
void |
unindentLine()
Decreases the indentation of the current line and all following lines.
|
public Log(String id)
public Log append(String s)
s
- the text to addpublic void indentLine()
public void indentLine(String indentString)
indentString
- the String to be used for the added indentationpublic void unindentLine()
public void newLine()
public String finish()
Copyright © 2024 levigo holding gmbh. All rights reserved.