public static string StaticWrite(string id, DateTime instant, int tenant_Id, string message, string detail, string detailLabel) { ServiceAPIDetailLogDefinition log = new ServiceAPIDetailLogDefinition(id, instant, tenant_Id, message, detail, detailLabel); log.Write(); return(log.Id); }
public ServiceAPIDetailLogDefinition(ServiceAPIDetailLogDefinition log) : this(log.Id, log.Instant, log.TenantId, log.Message, log.Detail, log.DetailLabel) { }