载入中...
搜索中...
未找到
CrashLog.h
浏览该文件的文档.
66EVENGINE_API_FOUNDATION void recordLogEvent(const std::string& level, const std::string& message);
void recordSessionEnd(int exitCode)
Appends the session-end marker carrying the process exit code.
Definition CrashLog.cpp:102
constexpr const char * kSessionStartMarker
Marker text that opens a session block in eve.log.
Definition CrashLog.h:39
constexpr const char * kSessionEndMarker
Marker text that closes a session block (followed by the exit code). @ownership Borrowed pointer to a...
Definition CrashLog.h:46
void initSystemLogging(const std::string &logDir)
Opens (append) the crash/error log file and records a session marker.
Definition CrashLog.cpp:64
void recordCrashEvent(const std::string &report)
Records a crash report, safe to call from a crash/exception handler.
Definition CrashLog.cpp:78
void recordLogEvent(const std::string &level, const std::string &message)
Appends a timestamped event line to the crash/error log.
Definition CrashLog.cpp:70