Currently we use #defined insructions to log everything. It is going to get messy as we go on, maybe try to use some structured logging controlled by an environment variable.
I would imagine using an environment variable to control the verbosity, such as
LIBONE_LOG=NONE
LIBONE_LOG=DEBUG
LIBONE_LOG=WARNING
etc.