Skip to content

Commit 835e409

Browse files
committed
Fix build issue
1 parent 1381248 commit 835e409

File tree

1 file changed

+9
-0
lines changed
  • Flow.Launcher.Infrastructure/Logger

1 file changed

+9
-0
lines changed

Flow.Launcher.Infrastructure/Logger/Log.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,15 @@ private static string CheckClassAndMessageAndReturnFullClassWithMethod(string cl
135135
return className;
136136
}
137137

138+
#if !DEBUG
139+
private static void ExceptionInternal(string classAndMethod, string message, System.Exception e)
140+
{
141+
var logger = LogManager.GetLogger(classAndMethod);
142+
143+
logger.Error(e, message);
144+
}
145+
#endif
146+
138147
private static void LogInternal(string message, LogLevel level)
139148
{
140149
if (FormatValid(message))

0 commit comments

Comments
 (0)