Currently BPjs' logger is printing to the stream it has. This is OK for embedding in other systems, since the host can provide its own stream. However, the log level is lost since and the host has no efficient way of knowing if a printed message was INFO, FINE, or WARN.
We need to break the current logger into an interface and a default implementation. Then, allow client code to provide its own logger.
Currently BPjs' logger is printing to the stream it has. This is OK for embedding in other systems, since the host can provide its own stream. However, the log level is lost since and the host has no efficient way of knowing if a printed message was
INFO
,FINE
, orWARN
.We need to break the current logger into an interface and a default implementation. Then, allow client code to provide its own logger.