You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce this new SendLog method with the following parameters (And fix all Log-methods that calls BuildProperties to instead pass ILogEntry to this new method):
Add this as property to the
NLogLogger
-class (UseLog
instead of constantly callingGetCurrentClassLogger
) :Improve the following method:
das-shared-packages/Logging/Logger/SFA.DAS.NLog.Logger/NLogLogger.cs
Lines 185 to 187 in d1a0f36
By adding
IsEnabled
-check to the beginning of theSendLog
-method above:Introduce this new
SendLog
method with the following parameters (And fix all Log-methods that callsBuildProperties
to instead passILogEntry
to this new method):Modify the this
SendLog
-method:das-shared-packages/Logging/Logger/SFA.DAS.NLog.Logger/NLogLogger.cs
Lines 140 to 142 in d1a0f36
So it becomes:
The text was updated successfully, but these errors were encountered: