- 機能/意味
-
Add a log handler
- タイプ
-
Debugクラスのメソッド
- 構文
-
addLoggingHandler(handler)
- 引数
-
handler |
Specify a log handler.
|
- 戻り値
-
なし (void)
- 説明
-
Register a handler to be called every time an error log is output.
The handler is called with the log message as an argument.
Even if a log is output in the registration method, a recursive call is not made and it is ignored.