logs
Executes a block of code, capturing all logs generated within the block.
This method clears the current list of captured logs, runs the provided block, and then logs all captured key-value pairs at once. Useful for grouping related log entries together for batch processing.
Parameters
The block of code whose logs should be captured and processed.
Logs multiple values with their respective keys based on the type of each value.
Parameters
Vararg parameter of pairs where the first element is the key and the second element is the value to log.
Logs a value of generic type B with a specified key if the system is in test mode, unless the class name of A matches any entry in IGNORED_FILES.
Parameters
The key associated with the value to log.
Logs a Double value with a specified key if the system is in test mode.
Parameters
The key associated with the value to log.
The Double value to log.
Logs an Int value with a specified key if the system is in test mode.
Parameters
The key associated with the value to log.
The Int value to log.
Logs a Boolean value with a specified key if the system is in test mode.
Parameters
The key associated with the value to log.
The Boolean value to log.
Logs a String value with a specified key if the system is in test mode.
Parameters
The key associated with the value to log.
The String value to log.
Logs a WPISerializable value with a specified key if the system is in test mode.
Parameters
The key associated with the value to log.
The WPISerializable value to log.
Logs a StructSerializable value with a specified key if the system is in test mode.
Parameters
The key associated with the value to log.
The StructSerializable value to log.