Provides logging capabilities for various types of data. The Loggable class augments a String with logging functionality, allowing logs to be generated for values or collections annotated with a specified logging prefix.
Use !! to log and return the original values of supported types. Logging can only occur if it is explicitly enabled within a suitable logging context.
Value parameters
w
the logging prefix to be used when generating log entries
Logs and returns the provided sequence of values. The sequence is logged with the prefix associated with the implicit Loggable context. Logging occurs only if logging is enabled in the current context.
Logs and returns the provided sequence of values. The sequence is logged with the prefix associated with the implicit Loggable context. Logging occurs only if logging is enabled in the current context.