Nlog with derived CustomizedTarget, Write to CustomizedTarget called in same thread as logger.Error
I derived LimitedFrequencyEmailTarget from NLog MailTarget in my asp.net core application to stop send out email if there is too many email. When I tested it in visual studio, I found that the Write in derived LimitedFrequencyEmailTarget called in same thread of my logger.Error. It is sync call. Will this happen when deployed in IIS? or does it happen only in visual studio debug?