log

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

Log a message to the telemetry log, with integrated formatting.

Parameters

format

An object string to add to telemetry

args

The objects to format into the object format string


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

Log a message to the telemetry log, with integrated formatting.

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

Log a message into the telemetry log

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


open override fun log(): Telemetry.Log

Deprecated (with error)

The telemetry log should not be accessed with this method, use log(msg) methods directly as FtcDashboard logging will not work with this method.

Replace with

log(...)