Java slf4j Logger infoLogging(Logger log, String logMessage, Object[] obj)

Here you can find the source of infoLogging(Logger log, String logMessage, Object[] obj)

Description

info Logging

License

Apache License

Declaration

public static void infoLogging(Logger log, String logMessage,
            Object[] obj) 

Method Source Code

//package com.java2s;
/**/*from   ww w .j a v a 2s .  co m*/
 *    Copyright 2013, Big Switch Networks, Inc.
 *
 *    Licensed under the Apache License, Version 2.0 (the "License"); you may
 *    not use this file except in compliance with the License. You may obtain
 *    a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 *    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 *    License for the specific language governing permissions and limitations
 *    under the License.
 **/

import org.slf4j.Logger;

public class Main {
    public static void infoLogging(Logger log, String logMessage,
            Object[] obj) {
        log.info(logMessage, obj);
    }

    public static void infoLogging(Logger log, String logMessage) {
        log.info(logMessage);
    }
}

Related

  1. info(Logger log, Object... objectsToString)
  2. info(Logger logger, String message, Object... objects)
  3. info(Logger logger, String msg)
  4. info(Logger logger, String msg, Object... params)
  5. info(String format, Object... arguments)
  6. infoTimeTaken(final Logger log, final long startTime, final long numItems, final String message, final Object... args)
  7. interruptCurrentThreadWithLog(Logger logger)
  8. isLoggable(final Logger logger, final Level level)
  9. isSlf4jPresent()