#include <ErrorOutput.h>
Public Types | |
typedef void(* | ErrorHandler )(const char *message) |
エラーハンドラの型 | |
Static Public Member Functions | |
void | initialize (const char *fileName="LampErrorLog.txt") |
初期化 | |
void | finalize () |
後始末 | |
int | print (const char *format,...) |
エラー出力 | |
int | print (const String &string) |
エラー出力 | |
void | setErrorHandler (ErrorHandler handler) |
エラーハンドラの設定 |
エラー出力の実装クラスです。
Definition at line 79 of file ErrorOutput.h.
|
エラーハンドラの型 デフォルトのエラーハンドラはメッセージを出力して強制終了します。
Definition at line 115 of file ErrorOutput.h. |
|
初期化
Definition at line 45 of file ErrorOutput.cpp. References NULL. |
|
エラー出力
Definition at line 84 of file ErrorOutput.cpp. References Lamp::Logger::flush(), Lamp::String::getBytes(), Lamp::String::getSize(), NULL, and Lamp::Logger::output(). |
|
エラー出力 可変長引数に対応したエラー出力メソッド。
Definition at line 59 of file ErrorOutput.cpp. References ErrorOut, Lamp::Logger::flush(), NULL, Lamp::Logger::output(), and StdVsnprintf. |
|
エラーハンドラの設定
Definition at line 121 of file ErrorOutput.h. |