Class LogMarkers
java.lang.Object
dev.jcputney.elearning.parser.util.LogMarkers
SLF4J Markers for optional verbose logging in the e-learning parser library.
These markers allow consuming applications to selectively enable verbose logging for specific operations without cluttering logs in normal operation.
Example usage in logback.xml to enable verbose logging:
<configuration>
<turboFilter class="ch.qos.logback.classic.turbo.MarkerFilter">
<Marker>PARSER_VERBOSE</Marker>
<OnMatch>ACCEPT</OnMatch>
</turboFilter>
</configuration>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.MarkerMarker for verbose file access operations logging.static final org.slf4j.MarkerMarker for verbose parsing operations logging.static final org.slf4j.MarkerMarker for verbose S3 operations logging.static final org.slf4j.MarkerMarker for verbose XML processing logging. -
Method Summary
-
Field Details
-
PARSER_VERBOSE
public static final org.slf4j.Marker PARSER_VERBOSEMarker for verbose parsing operations logging. Use this to log detailed parsing steps that are normally too verbose. -
FILE_ACCESS_VERBOSE
public static final org.slf4j.Marker FILE_ACCESS_VERBOSEMarker for verbose file access operations logging. Use this to log detailed file access operations like cache hits/misses. -
XML_VERBOSE
public static final org.slf4j.Marker XML_VERBOSEMarker for verbose XML processing logging. Use this to log detailed XML parsing and metadata loading operations. -
S3_VERBOSE
public static final org.slf4j.Marker S3_VERBOSEMarker for verbose S3 operations logging. Use this to log detailed S3 operations like prefetching and streaming.
-