| 113 | } |
| 114 | |
| 115 | void SetLoggingFunction(LoggingFunction logFunction) |
| 116 | { |
| 117 | if (!logFunction) |
| 118 | { |
| 119 | throw Exception("SetLoggingFunction: logFunction must not be null."); |
| 120 | } |
| 121 | AutoMutex lock(g_logmutex); |
| 122 | g_loggingFunction = logFunction; |
| 123 | } |
| 124 | |
| 125 | void ResetToDefaultLoggingFunction() |
| 126 | { |
no outgoing calls