output

fun output(output: PureeOutput, vararg logTypes: Class<out PureeLog>): PureeLogger.Builder

Registers a PureeOutput and associate it with log types.

Parameters

output

The PureeOutput to be registered. To avoid issues when buffering logs, only one instance per PureeOutput should be registered and duplicates are ignored.

logTypes

The log types of the objects that will be sent to the PureeOutput.