(LogType logType, Object context, string message)
| 37 | |
| 38 | /// <inheritdoc /> |
| 39 | public void Log(LogType logType, Object context, string message) |
| 40 | { |
| 41 | if (message == null) |
| 42 | return; |
| 43 | #if BUILD_RELEASE || !FLAX_EDITOR |
| 44 | string stackTrace = null; |
| 45 | #else |
| 46 | string stackTrace = Environment.StackTrace; |
| 47 | #endif |
| 48 | Internal_Log(logType, message, Object.GetUnmanagedPtr(context), stackTrace); |
| 49 | SendLog?.Invoke(logType, message, context, stackTrace); |
| 50 | } |
| 51 | |
| 52 | internal static void Internal_SendLog(LogType logType, string message, string stackTrace) |
| 53 | { |
nothing calls this directly
no test coverage detected