protected void WriteLog(string message, ServerLogScope scope, Exception exception) { this.Log?.Invoke(this, new ServerLogEventArgs() { Message = message, Scope = scope, Exception = exception, }); }
protected void WriteLog(string message, ServerLogScope scope = ServerLogScope.Information) { this.WriteLog(message, scope, null); }