FileDocCategorySizeDatePackage
Slog.javaAPI DocAndroid 5.1 API4369Thu Mar 12 22:22:10 GMT 2015android.util

Slog

public final class Slog extends Object
hide

Fields Summary
Constructors Summary
private Slog()

    
Methods Summary
public static intd(java.lang.String tag, java.lang.String msg)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag, msg);
    
public static intd(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.DEBUG, tag,
                msg + '\n" + Log.getStackTraceString(tr));
    
public static inte(java.lang.String tag, java.lang.String msg)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.ERROR, tag, msg);
    
public static inte(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.ERROR, tag,
                msg + '\n" + Log.getStackTraceString(tr));
    
public static inti(java.lang.String tag, java.lang.String msg)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag, msg);
    
public static inti(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.INFO, tag,
                msg + '\n" + Log.getStackTraceString(tr));
    
public static intprintln(int priority, java.lang.String tag, java.lang.String msg)

        return Log.println_native(Log.LOG_ID_SYSTEM, priority, tag, msg);
    
public static intv(java.lang.String tag, java.lang.String msg)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag, msg);
    
public static intv(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.VERBOSE, tag,
                msg + '\n" + Log.getStackTraceString(tr));
    
public static intw(java.lang.String tag, java.lang.Throwable tr)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.WARN, tag, Log.getStackTraceString(tr));
    
public static intw(java.lang.String tag, java.lang.String msg)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.WARN, tag, msg);
    
public static intw(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)

        return Log.println_native(Log.LOG_ID_SYSTEM, Log.WARN, tag,
                msg + '\n" + Log.getStackTraceString(tr));
    
public static intwtf(java.lang.String tag, java.lang.String msg)
Like {@link Log#wtf(String, String)}, but will never cause the caller to crash, and will always be handled asynchronously. Primarily for use by coding running within the system process.

        return Log.wtf(Log.LOG_ID_SYSTEM, tag, msg, null, false, true);
    
public static intwtf(java.lang.String tag, java.lang.Throwable tr)
Like {@link Log#wtf(String, Throwable)}, but will never cause the caller to crash, and will always be handled asynchronously. Primarily for use by coding running within the system process.

        return Log.wtf(Log.LOG_ID_SYSTEM, tag, tr.getMessage(), tr, false, true);
    
public static intwtf(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)
Like {@link Log#wtf(String, String, Throwable)}, but will never cause the caller to crash, and will always be handled asynchronously. Primarily for use by coding running within the system process.

        return Log.wtf(Log.LOG_ID_SYSTEM, tag, msg, tr, false, true);
    
public static voidwtfQuiet(java.lang.String tag, java.lang.String msg)
Like {@link #wtf(String, String)}, but does not output anything to the log.

        Log.wtfQuiet(Log.LOG_ID_SYSTEM, tag, msg, true);
    
public static intwtfStack(java.lang.String tag, java.lang.String msg)
Like {@link Log#wtfStack(String, String)}, but will never cause the caller to crash, and will always be handled asynchronously. Primarily for use by coding running within the system process.

        return Log.wtf(Log.LOG_ID_SYSTEM, tag, msg, null, true, true);