com.rabbitmq.tools
public static interface Tracer.Logger
Modifier and Type | Method and Description |
---|---|
void |
log(java.lang.String msg)
Write msg to the log.
|
boolean |
start()
Start logging, that is, printing log entries written using
log(String) . |
boolean |
stop()
Stop logging, that is, stop printing log entries written using
log(String) . |
boolean start()
log(String)
. Multiple successive starts are equivalent to a
single start.true
if start actually started the logger;
false
otherwise.boolean stop()
log(String)
. Flush preceding writes. The logger can only be
stopped if started. Multiple successive stops are equivalent to a
single stop.true
if stop actually stopped the logger;
false
otherwise.void log(java.lang.String msg)
msg
-