Class LogFile
java.lang.Object
com.google.javascript.jscomp.diagnostic.LogFile
- All Implemented Interfaces:
AutoCloseable
A simple interface for writing to a human readable log file.
This API is designed to be compatible with J2CL. In the future it may be worth implementing this in terms of Flogger; however, at the time of writing, Flogger was not J2CL compatible.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
An interface allowing streaming JSON to a LogFile via aJsonWriter
-
Method Summary
-
Method Details
-
createOrReopen
-
createNoOp
-
log
-
log
-
log
-
log
-
logJson
-
logJson
-
logJson
-
isLogging
public abstract boolean isLogging() -
close
public abstract void close()- Specified by:
close
in interfaceAutoCloseable
-