Package net.sf.saxon.lib
Class SystemLogger
- java.lang.Object
-
- net.sf.saxon.lib.Logger
-
- net.sf.saxon.lib.SystemLogger
-
public class SystemLogger extends Logger
An implementation of Saxon'sLogger
interface that writes all messages through to a suppliedjava.util.logging.Logger
.
-
-
Constructor Summary
Constructors Constructor Description SystemLogger(java.util.logging.Logger log)
Create aLogger
that wraps a Javajava.util.logging.Logger
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
println(java.lang.String message, int severity)
Log a message.-
Methods inherited from class net.sf.saxon.lib.Logger
asStreamResult, asWriter, close, disaster, error, info, isUnicodeAware, setUnicodeAware, warning
-
-
-
-
Method Detail
-
println
public void println(java.lang.String message, int severity)
Log a message.- Specified by:
println
in classLogger
- Parameters:
message
- The message to be outputseverity
- The severity level. One ofLogger.INFO
,Logger.WARNING
,Logger.ERROR
,Logger.DISASTER
-
-