Logger

class Logger(messager: Messager, logTimings: Boolean)

Functions

logError
Link copied to clipboard
fun logError(msg: String, vararg args: Any)
Errors logged with this should describe exactly what is wrong.
fun logError(e: Throwable, message: String? = null)
Errors are logged and saved until after classes are generating.
logErrors
Link copied to clipboard
fun logErrors(exceptions: List<Exception>)
measure
Link copied to clipboard
suspend fun <T> measure(name: String, numItems: Int? = null, isParallel: Boolean? = null, block: suspend () -> T): T
note
Link copied to clipboard
fun note(message: String)
printTimings
Link copied to clipboard
fun printTimings(processorName: String)
warn
Link copied to clipboard
fun warn(msg: String)
writeExceptions
Link copied to clipboard
fun writeExceptions()

Properties

logTimings
Link copied to clipboard
val logTimings: Boolean
messager
Link copied to clipboard
val messager: Messager