public class FilePrinter extends java.lang.Object implements Printer
Printer using file system. When print a log, it will print it to the specified file.
Use the FilePrinter.Builder to construct a FilePrinter object.
| Modifier and Type | Class and Description |
|---|---|
static class |
FilePrinter.Builder
Builder for
FilePrinter. |
| Modifier and Type | Method and Description |
|---|---|
void |
println(int logLevel,
java.lang.String tag,
java.lang.String msg)
Print log in new line.
|