warn

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

Log a warning message. Messages will be prepended with the WRN_PREPEND string Best used in a scenario where the program can continue, but the user should be warned

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 warn(obj: Class<*>, format: Any, vararg args: Any?)

Log a warning message. Messages will be prepended with the WRN_PREPEND string Best used in a scenario where the program can continue, but the user should be warned

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 warn(format: Any, vararg args: Any?)

Log a warning message. Messages will be prepended with the WRN_PREPEND string Best used in a scenario where the program can continue, but the user should be warned

Parameters

format

An object string to add to telemetry

args

The objects to format into the object format string