Exemplo n.º 1
0
        private async Task LogWarningAsync(string message, MethodBase method)
        {
            await CrmSvcUtil.CrmSvcUtilLogger.TraceWarningAsync(message, MethodTracer.GetMethodString(method));

            await CrmSvcUtil.CrmSvcUtilLogger.LogAsync(string.Format(message, MethodTracer.GetMethodString(method)), LoggerMessageCategory.Warning);
        }
Exemplo n.º 2
0
 private async Task LogMessageAsync(string message, MethodBase method)
 {
     await CrmSvcUtil.CrmSvcUtilLogger.TraceInformationAsync(message, MethodTracer.GetMethodString(method));
 }