logError

fun logError(msg: String, vararg args: Any)

Errors logged with this should describe exactly what is wrong. These won't show the stacktrace in the error output to reduce confusion.

fun logError(e: Throwable, message: String? = null)

Errors are logged and saved until after classes are generating. Otherwise if we throw immediately the models are not generated which leads to lots of other compiler errors which mask the actual issues.

If the exception is not an EpoxyProcessorException then the stacktrace will be shown in the output.