ログ

public class Log
extends Object

java.lang.Object
   ↳ com.android.ddmlib.Log


概要

パブリック コンストラクタ

Log()

パブリック メソッド

static void d(String tag, String message)

LogLevel.DEBUG レベルのメッセージを出力します。

static void e(String tag, String message)

LogLevel.ERROR レベルのメッセージを出力します。

static void e(String tag, Throwable throwable)

LogLevel.ERROR レベルの Throwable 情報を出力します。

static void i(String tag, String message)

LogLevel.INFO レベルのメッセージを出力します。

static void logAndDisplay(Log.LogLevel logLevel, String tag, String message)
static void v(String tag, String message)

LogLevel.VERBOSE レベルのメッセージを出力します。

static void w(String tag, String message)

LogLevel.WARN レベルのメッセージを出力します。

パブリック コンストラクタ

ログ

public Log ()

パブリック メソッド

d

public static void d (String tag, 
                String message)

LogLevel.DEBUG レベルのメッセージを出力します。

パラメータ
tag String: メッセージに関連付けられたタグ。

message String: 出力するメッセージ。

e

public static void e (String tag, 
                String message)

LogLevel.ERROR レベルのメッセージを出力します。

パラメータ
tag String: メッセージに関連付けられたタグ。

message String: 出力するメッセージ。

e

public static void e (String tag, 
                Throwable throwable)

LogLevel.ERROR レベルの Throwable 情報を出力します。

パラメータ
tag String: メッセージに関連付けられたタグ。

throwable Throwable: 出力する Throwable

i

public static void i (String tag, 
                String message)

LogLevel.INFO レベルのメッセージを出力します。

パラメータ
tag String: メッセージに関連付けられたタグ。

message String: 出力するメッセージ。

logAndDisplay

public static void logAndDisplay (Log.LogLevel logLevel, 
                String tag, 
                String message)

パラメータ
logLevel Log.LogLevel

tag String

message String

v

public static void v (String tag, 
                String message)

LogLevel.VERBOSE レベルのメッセージを出力します。

パラメータ
tag String: メッセージに関連付けられたタグ。

message String: 出力するメッセージ。

w

public static void w (String tag, 
                String message)

LogLevel.WARN レベルのメッセージを出力します。

パラメータ
tag String: メッセージに関連付けられたタグ。

message String: 出力するメッセージ。