add record in nlog to field with dataType = date
问题 I use nlog dll to write to database - oracle with entity frameWork in the line : logger.Log(logLevel, "try"); I get in the logs of nlog the following error: The literal does not match the template string the code is: SetPropGDC(LogEntity); NLog.LogLevel logLevel = SetLogLevel(Level.Debug); logger.Log(logLevel, "try"); ClearGDC(); private void SetPropGDC(LogEntity LogEntity) { GlobalDiagnosticsContext.Set(processId, LogEntity.PROCESS_ID.ToString()); GlobalDiagnosticsContext.Set("TIME_STAMP",