public static void StaticWrite(DateTime instant, string sessionId, int espaceId, int tenantId, int userId, string message, string messageType, string moduleName, string errorId) { GeneralLog log = new GeneralLog(); log.Write(instant, sessionId, espaceId, tenantId, userId, message, messageType, moduleName, errorId); }
public GeneralLog(GeneralLog obj) { log = new GeneralLogDefinition(obj.Instant, obj.SessionId, obj.EspaceId, obj.TenantId, obj.UserId, obj.Message, obj.MessageType, obj.ModuleName, obj.ErrorId, obj.RequestKey, obj.ActionName, obj.EntrypointName, obj.ClientIP, obj.EspaceName, obj.ApplicationName, obj.ApplicationKey, obj.Username); }