Logging
io.bullet.borer.Logging$
object Logging
Facilities for on-the-side logging of either encoding or decoding progress, which can be useful for debugging problems with the input or custom codec logic.
Logging can be done either before or after the input validation step, depending on your needs. If unsure, go for after-validation logging, at least initially. (This is also the default.) For example, to log decoding progress to the console you can say:
Cbor.decode(inputBytes).withPrintLogging().to[MyType]
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Logging.type