com.tibco.cep.kernel.service.logging

## Interface Logger

-     public interface Logger

  Since:
    4.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Level` | `getLevel()` Gets the current Level of this logger.
    `java.lang.String` | `getName()` Gets the name of this logger.
    `boolean` | `isEnabledFor(Level level)` Checks if a message of the given level would actually be logged by this logger.
    `void` | `log(Level level, java.lang.String msg)` Logs a message.
    `void` | `log(Level level, java.lang.String format, java.lang.Object[] args)` Logs a message.
    `void` | `log(Level level, java.lang.String format, java.lang.Throwable thrown, java.lang.Object[] args)` Logs a message.
    `void` | `log(Level level, java.lang.Throwable thrown, java.lang.String msg)` Logs a message, with associated Throwable information.
    `void` | `log(Level level, java.lang.Throwable thrown, java.lang.String format, java.lang.Object[] args)` Logs a message, with associated Throwable information.
    `void` | `setLevel(Level level)` Sets the maximum Level logged by this object.

- - ### Method Detail

    - #### getLevel

          Level getLevel()

      Gets the current Level of this logger.
      Returns:
        Level of this logger.
      Since:
        4.0.0

    - #### getName

          java.lang.String getName()

      Gets the name of this logger.
      Returns:
        String
      Since:
        4.0.0

    - #### isEnabledFor

          boolean isEnabledFor(Level level)

      Checks if a message of the given level would actually be logged by this logger.
      Parameters:
        `level` - Level Priority
      Returns:
        boolean true if level is not Level.OFF and level <= getLevel().
      Since:
        4.0.0

    - #### log

          void log(Level level,
                   java.lang.String msg)

      Logs a message.
      Parameters:
        `level` - Level Priority
        `msg` - String Message
      Since:
        4.0.0

    - #### log

          void log(Level level,
                   java.lang.String format,
                   java.lang.Object[] args)

      Logs a message.
      Parameters:
        `level` - Level Priority
        `format` - String Containing formatting operators
        `args` - Object... Message object to log.
      Since:
        4.0.0

    - #### log

          void log(Level level,
                   java.lang.String format,
                   java.lang.Throwable thrown,
                   java.lang.Object[] args)

      Logs a message.
      Parameters:
        `level` - Level Priority
        `format` - String Containing formatting operators
        `thrown` - Throwable Throwable of the logging request, may be null.
        `args` - Object... Message object to log
      Since:
        4.0.0

    - #### log

          void log(Level level,
                   java.lang.Throwable thrown,
                   java.lang.String msg)

      Logs a message, with associated Throwable information.
      Parameters:
        `level` - Level Priority
        `msg` - String Message to log
        `thrown` - Throwable Throwable of the logging request, may be null.
      Since:
        4.0.0

    - #### log

          void log(Level level,
                   java.lang.Throwable thrown,
                   java.lang.String format,
                   java.lang.Object[] args)

      Logs a message, with associated Throwable information.
      Parameters:
        `level` - Level Priority
        `thrown` - Throwable Throwable of the logging request.
        `format` - String Containing formatting operators
        `args` - Object... Message object to log
      Since:
        4.0.0

    - #### setLevel

          void setLevel(Level level)

      Sets the maximum Level logged by this object.
      Parameters:
        `level` - Level Priority
      Since:
        4.0.0