Package 

Object Logger


  • 
    public class Logger
    
                        

    ログを出力するためのクラスです。

    • Method Summary

      Modifier and Type Method Description
      final static Unit v(String tag, String message, Throwable throwable) ログ(Verbose)を出力します。
      final static Unit d(String tag, String message, Throwable throwable) ログ(Debug)を出力します。
      final static Unit i(String tag, String message, Throwable throwable) ログ(Info)を出力します。
      final static Unit w(String tag, String message, Throwable throwable) ログ(Warning)を出力します。
      final static Unit e(String tag, String message, Throwable throwable) ログ(Error)を出力します。
      final static LogLevel getLevel() ログレベルの取得および設定を行います。
      final static Unit setLevel(LogLevel level) ログレベルの取得および設定を行います。
      • Methods inherited from class io.karte.android.core.logger.Logger

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • v

        @JvmOverloads() final static Unit v(String tag, String message, Throwable throwable)

        ログ(Verbose)を出力します。

        Parameters:
        tag - タグ
        message - メッセージ
        throwable - 例外オブジェクト
      • d

        @JvmOverloads() final static Unit d(String tag, String message, Throwable throwable)

        ログ(Debug)を出力します。

        Parameters:
        tag - タグ
        message - メッセージ
        throwable - 例外オブジェクト
      • i

        @JvmOverloads() final static Unit i(String tag, String message, Throwable throwable)

        ログ(Info)を出力します。

        Parameters:
        tag - タグ
        message - メッセージ
        throwable - 例外オブジェクト
      • w

        @JvmOverloads() final static Unit w(String tag, String message, Throwable throwable)

        ログ(Warning)を出力します。

        Parameters:
        tag - タグ
        message - メッセージ
        throwable - 例外オブジェクト
      • e

        @JvmOverloads() final static Unit e(String tag, String message, Throwable throwable)

        ログ(Error)を出力します。

        Parameters:
        tag - タグ
        message - メッセージ
        throwable - 例外オブジェクト
      • getLevel

         final static LogLevel getLevel()

        ログレベルの取得および設定を行います。

      • setLevel

         final static Unit setLevel(LogLevel level)

        ログレベルの取得および設定を行います。