Package org.opencms.pdftools
Class CmsXRLogAdapter
java.lang.Object
org.opencms.pdftools.CmsXRLogAdapter
- All Implemented Interfaces:
org.xhtmlrenderer.util.XRLogger
Adaspter for sending xhtmlrenderer (flyingsaucer) log messages to the OpenCms log.
The log channels to which the log messages are sent start with the prefix 'org.opencms.' so that no change in the log configuration is needed to make error messages appear in the log.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
OCMS_PREFIX
The prefix used for log channels.- See Also:
-
-
Constructor Details
-
CmsXRLogAdapter
public CmsXRLogAdapter()
-
-
Method Details
-
log
- Specified by:
log
in interfaceorg.xhtmlrenderer.util.XRLogger
- See Also:
-
XRLogger.log(java.lang.String, java.util.logging.Level, java.lang.String)
-
log
- Specified by:
log
in interfaceorg.xhtmlrenderer.util.XRLogger
- See Also:
-
XRLogger.log(java.lang.String, java.util.logging.Level, java.lang.String, java.lang.Throwable)
-
setLevel
- Specified by:
setLevel
in interfaceorg.xhtmlrenderer.util.XRLogger
- See Also:
-
XRLogger.setLevel(java.lang.String, java.util.logging.Level)
-