Class Slf4jWriter

All Implemented Interfaces:
OutputWriter

public class Slf4jWriter
extends AbstractOutputWriter
SLF4J based OutputWriter implementation. Settings:
  • "logger": Name of the logger. Optional, default value: "org.jmxtrans.embedded.output.Slf4jWriter"
  • "enabled": flag to enable/disable the writer. Optional, default value: {$code true}.
Output: Graphite's Carbon Plan Text protocol
     <metric path> <metric value> <metric timestamp>.
 
With timestamp in seconds.
Author:
Cyrille Le Clerc