Tabnine Logo
Logger.i
Code IndexAdd Tabnine to your IDE (free)

How to use
i
method
in
com.elvishew.xlog.Logger

Best Java code snippets using com.elvishew.xlog.Logger.i (Showing top 14 results out of 315)

origin: elvishew/xLog

/**
 * Log an object with level {@link LogLevel#INFO}.
 *
 * @param object the object to log
 * @see LogConfiguration.Builder#addObjectFormatter(Class, ObjectFormatter)
 * @since 1.1.0
 */
public static void i(Object object) {
 assertInitialization();
 sLogger.i(object);
}
origin: elvishew/xLog

/**
 * Convenience of {@link #build()} and {@link Logger#i(Object)}.
 *
 * @since 1.1.0
 */
public void i(Object object) {
 build().i(object);
}
origin: elvishew/xLog

/**
 * Log a message and a throwable with level {@link LogLevel#INFO}.
 *
 * @param msg the message to log
 * @param tr  the throwable to be log
 */
public static void i(String msg, Throwable tr) {
 assertInitialization();
 sLogger.i(msg, tr);
}
origin: elvishew/xLog

/**
 * Log a message with level {@link LogLevel#INFO}.
 *
 * @param msg the message to log
 */
public static void i(String msg) {
 assertInitialization();
 sLogger.i(msg);
}
origin: elvishew/xLog

/**
 * Convenience of {@link #build()} and {@link Logger#i(Object[])}.
 *
 * @since 1.4.0
 */
public void i(Object[] array) {
 build().i(array);
}
origin: elvishew/xLog

/**
 * Convenience of {@link #build()} and {@link Logger#i(String)}.
 */
public void i(String msg) {
 build().i(msg);
}
origin: elvishew/xLog

/**
 * Convenience of {@link #build()} and {@link Logger#i(String, Throwable)}.
 */
public void i(String msg, Throwable tr) {
 build().i(msg, tr);
}
origin: elvishew/xLog

/**
 * Convenience of {@link #build()} and {@link Logger#i(String, Object...)}.
 */
public void i(String format, Object... args) {
 build().i(format, args);
}
origin: elvishew/xLog

/**
 * Log an array with level {@link LogLevel#INFO}.
 *
 * @param array the array to log
 */
public static void i(Object[] array) {
 assertInitialization();
 sLogger.i(array);
}
origin: elvishew/xLog

/**
 * Log a message with level {@link LogLevel#INFO}.
 *
 * @param format the format of the message to log
 * @param args   the arguments of the message to log
 */
public static void i(String format, Object... args) {
 assertInitialization();
 sLogger.i(format, args);
}
origin: elvishew/xLog

/**
 * @deprecated compatible with {@link android.util.Log#i(String, String)}
 */
public static void i(String tag, String msg) {
 tag(tag).build().i(msg);
}
origin: elvishew/xLog

/**
 * @deprecated compatible with {@link android.util.Log#i(String, String, Throwable)}
 */
public static void i(String tag, String msg, Throwable tr) {
 tag(tag).build().i(msg, tr);
}
origin: elvishew/xLog

 break;
case LogLevel.INFO:
 logger.i(MESSAGE);
 break;
case LogLevel.WARN:
origin: elvishew/xLog

logger.i(MESSAGE);
AssertUtil.assertNoLog(logsContainer);
logsContainer.clear();
logger.v(MESSAGE);
logger.d(MESSAGE);
logger.i(MESSAGE);
logger.w(MESSAGE);
logger.e(MESSAGE);
assertLog(DEBUG, DEFAULT_TAG, MESSAGE);
logsContainer.clear();
logger.i(MESSAGE);
assertLog(INFO, DEFAULT_TAG, MESSAGE);
logsContainer.clear();
com.elvishew.xlogLoggeri

Javadoc

Log an object with level LogLevel#INFO.

Popular methods of Logger

  • d
    Log an array with level LogLevel#DEBUG.
  • e
    Log an array with level LogLevel#ERROR.
  • v
    Log an array with level LogLevel#VERBOSE.
  • w
    Log an array with level LogLevel#WARN.
  • log
    Log an array with specific log level.
  • <init>
    Construct a logger using builder.
  • formatArgs
    Format a string with arguments.
  • json
    Log a JSON string, with level LogLevel#DEBUG by default.
  • println
    Print an array in a new line.
  • printlnInternal
    Print a log in a new line internally.
  • xml
    Log a XML string, with level LogLevel#DEBUG by default.
  • xml

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JButton (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now