jp.go.aist.rtm.RTC.log
クラス LogbufOn

java.lang.Object
  上位を拡張 jp.go.aist.rtm.RTC.log.Logbuf
      上位を拡張 jp.go.aist.rtm.RTC.log.LogbufOn

public class LogbufOn
extends Logbuf

ログ収集ON時のロギングクラスです。


コンストラクタの概要
LogbufOn()
          デフォルトコンストラクタです。
 
メソッドの概要
 void log(java.lang.String contents)
          ログを書き込みます。
 void open(java.util.logging.Handler handler)
          ログファイルをオープンします。
static int strToLogLevel(java.lang.String loglevel)
          ログレベルを表す文字列をコードに変換します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

LogbufOn

public LogbufOn()

デフォルトコンストラクタです。

メソッドの詳細

strToLogLevel

public static int strToLogLevel(java.lang.String loglevel)

ログレベルを表す文字列をコードに変換します。

パラメータ:
loglevel - ログレベル(文字列)
戻り値:
ログレベル・コード

open

public void open(java.util.logging.Handler handler)

ログファイルをオープンします。

オーバーライド:
クラス Logbuf 内の open
パラメータ:
handler - ログハンドラー

log

public void log(java.lang.String contents)

ログを書き込みます。

オーバーライド:
クラス Logbuf 内の log
パラメータ:
contents - ログ内容