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