error

fun error(stck: StackTraceElement, format: Any, vararg args: Any?)

Log an error message. Messages will be prepended with the ERROR_PREPEND string Best used in a scenario where the program cannot continue normally or at required functionality

Parameters

stck

StackTraceElement with information about where this log was called (see Text.getCallingUserCodeFunction())

format

An object string to add to telemetry

args

The objects to format into the object format string


fun error(obj: Class<*>, format: Any, vararg args: Any?)

Log an error message. Messages will be prepended with the ERROR_PREPEND string Best used in a scenario where the program cannot continue normally or at required functionality

Parameters

obj

Class where this log was called (name will be prepended to message)

format

An object string to add to telemetry

args

The objects to format into the object format string


fun error(format: Any, vararg args: Any?)

Log an error message. Messages will be prepended with the ERROR_PREPEND string Best used in a scenario where the program cannot continue normally or at required functionality

Parameters

format

An object string to add to telemetry

args

The objects to format into the object format string