public bool ErrorExecute(Action action) { if (TracerConfig.Instance.IsEnabled(this.myType, MessageTypes.Error, this.myLevel)) { action(); return true; } return false; }