Class SumoLogHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- com.sumologic.jenkins.jenkinssumologicplugin.utility.SumoLogHandler
-
public class SumoLogHandler extends Handler
-
-
Constructor Summary
Constructors Constructor Description SumoLogHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
static SumoLogHandler
getInstance()
void
publish(LogRecord record)
-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
getInstance
public static SumoLogHandler getInstance()
-
close
public void close() throws SecurityException
- Specified by:
close
in classHandler
- Throws:
SecurityException
-
-