Package com.elvishew.xlog.printer.file
Class FilePrinter
- java.lang.Object
-
- com.elvishew.xlog.printer.file.FilePrinter
-
- All Implemented Interfaces:
Printer
public class FilePrinter extends java.lang.Object implements Printer
LogPrinterusing file system. When print a log, it will print it to the specified file.Use the
FilePrinter.Builderto construct aFilePrinterobject.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilePrinter.BuilderBuilder forFilePrinter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintln(int logLevel, java.lang.String tag, java.lang.String msg)Print log in new line.
-