public static void Log(this IMethodLogProvider methodLogger, EntryType entryType, string category, string format, params object[] args)
{
if(methodLogger == null)
{
if(CallLifetimeLog.FallbackToTraceLoggingWhenNoProxy)
FallbackTraceLog(entryType, format, args);
return;
}
CallLifetimeLog log = (CallLifetimeLog)methodLogger;
log.AddLogEntry(LogEntryOriginator.Method, entryType, category, format, args);
}