| 109 | } |
| 110 | |
| 111 | char* GetLog() |
| 112 | { |
| 113 | if (s_LogCaptureContext) |
| 114 | { |
| 115 | dmLog::LogFinalize(); |
| 116 | s_LogCaptureContext = 0; |
| 117 | } |
| 118 | |
| 119 | m_Log.SetCapacity(m_Log.Size() + 1); |
| 120 | m_Log.Push('\0'); |
| 121 | return m_Log.Begin(); |
| 122 | } |
| 123 | |
| 124 | static void LogListener(LogSeverity severity, const char* domain, const char* formatted_string) |
| 125 | { |
nothing calls this directly
no test coverage detected