FileDocCategorySizeDatePackage
Log_Delegate.javaAPI DocAndroid 5.1 API1575Thu Mar 12 22:22:44 GMT 2015android.util

Log_Delegate

public class Log_Delegate extends Object

Fields Summary
Constructors Summary
Methods Summary
static intprintln_native(int bufID, int priority, java.lang.String tag, java.lang.String msgs)

        String prefix = priorityChar(priority) + "/" + tag + ": ";
        for (String msg: msgs.split("\n")) {
            System.out.println(prefix + msg);
        }
        return 0;
    
private static charpriorityChar(int priority)

        switch (priority) {
            case Log.VERBOSE:
                return 'V";
            case Log.DEBUG:
                return 'D";
            case Log.INFO:
                return 'I";
            case Log.WARN:
                return 'W";
            case Log.ERROR:
                return 'E";
            case Log.ASSERT:
                return 'A";
            default:
                return '?";
        }