code: public void log( final Priority priority, final Object message, final Throwable t )
      {
          if ( priority == null )
          {
              return;
          }
  
          switch (priority.level)
          {
              case Level.FATAL_INT:
                  this.fatal( message, t );
                  break;
              case Level.ERROR_INT:
                  this.error( message, t );
                  break;
              case Level.WARN_INT:
                  this.warn( message, t );
                  break;
              case Level.INFO_INT:
                  this.info( message, t );
                  break;
              case Level.DEBUG_INT:
                  this.debug( message, t );
                  break;
              case Level.TRACE_INT:
              case Level.ALL_INT:
                  this.trace( message, t );
                  break;
              default:
                  break;
          }
      }
docs: This generic form is intended to be used by wrappers.
  
  @param priority priority of log to be generated.
  @param message  the message to log
  @param t        an Exception to be logged, if any.