/// <summary>Generates a server debug message.</summary> /// <param name="msg">Text describing the notification.</param> /// <param name="parms">The parameters to pass to the function for formatting.</param> /// <param name="client">The client that generated the error.</param> public virtual void Debug(IClient client, string msg, params object[] parms) { if (!ServerBase.log.IsDebugEnabled) { return; } ServerBase.log.Debug(ServerBase.FormatLogString(client, msg, parms)); }
/// <summary>Generates a server error.</summary> /// <param name="parms">Parameters for formatting the message.</param> /// <param name="msg">The message describing the error.</param> /// <param name="client">The client that generated the error.</param> public virtual void Error(IClient client, string msg, params object[] parms) { ServerBase.log.Error(ServerBase.FormatLogString(client, msg, parms)); }