Class JBossLogger

  • All Implemented Interfaces:
    Logger

    public class JBossLogger
    extends Object
    implements Logger
    • Constructor Detail

      • JBossLogger

        public JBossLogger()
    • Method Detail

      • isEnabled

        public boolean isEnabled​(String context,
                                 int level)
        Description copied from interface: Logger
        Is the logging for the given context at the specified message level enabled.
        Specified by:
        isEnabled in interface Logger
        Returns:
      • log

        public void log​(int level,
                        String context,
                        Object... msg)
        Specified by:
        log in interface Logger
      • convert2JbossLevel

        public static org.jboss.logging.Logger.Level convert2JbossLevel​(int level)
        Convert MessageLevel to Logger.Level
        Parameters:
        level -
        Returns:
      • convert2MessageLevel

        public static int convert2MessageLevel​(org.jboss.logging.Logger.Level level)
        Convert Logger.Level to MessageLevel
        Parameters:
        level -
        Returns:
      • shutdown

        public void shutdown()
        Description copied from interface: Logger
        Shut down this listener, requesting it clean up and release any resources it may have acquired during its use. The listener is free to ignore this request if it is not responsible for managing the resources it uses or if there are no resources.
        Specified by:
        shutdown in interface Logger