private void SetDebugFlag(ApiLogFlags flag, bool replaceFlagValue = false) { if (this.ApiLogFlags == ApiLogFlags.None || replaceFlagValue == true || this.ApiLogFlags == ApiLogFlags.Everything) { this.ApiLogFlags = flag; } else { this.ApiLogFlags = this.ApiLogFlags | flag; } }
public void DisableLogging() { this.ApiLogFlags = ApiLogFlags.None; }
private void SetDebugFlag( ApiLogFlags flag, bool replaceFlagValue = false ) { if( this.ApiLogFlags == ApiLogFlags.None || replaceFlagValue == true || this.ApiLogFlags == ApiLogFlags.Everything ) this.ApiLogFlags = flag; else this.ApiLogFlags = this.ApiLogFlags | flag; }
public bool MatchLogLevel(ApiLogFlags level) { return (this.ApiLogFlags & level) == level; }
public bool MatchLogLevel(ApiLogFlags level) { return((this.ApiLogFlags & level) == level); }