Class CarbonLogFilter

  • All Implemented Interfaces:
    Filter

    public class CarbonLogFilter
    extends Object
    implements Filter
    Used for publishing logs using Java Util Logging in non-OSGi mode. This publishes patch information and the last two logs printed after OSGi environment is shutdown
    • Constructor Detail

      • CarbonLogFilter

        public CarbonLogFilter()
    • Method Detail

      • isLoggable

        public boolean isLoggable​(LogRecord logRecord)
        Filters out the logs printed before OSGi is started and after OSGi is stopped.
        Specified by:
        isLoggable in interface Filter
        Parameters:
        logRecord - the logRecord object
        Returns:
        boolean true/false