Class LogMarkers

java.lang.Object
dev.jcputney.elearning.parser.util.LogMarkers

public final class LogMarkers extends Object
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 Details

    • PARSER_VERBOSE

      public static final org.slf4j.Marker PARSER_VERBOSE
      Marker 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_VERBOSE
      Marker 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_VERBOSE
      Marker 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_VERBOSE
      Marker for verbose S3 operations logging. Use this to log detailed S3 operations like prefetching and streaming.