Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
 public void DisableLogging()
 {
     this.ApiLogFlags = ApiLogFlags.None;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 public bool MatchLogLevel(ApiLogFlags level)
 {
     return (this.ApiLogFlags & level) == level;
 }
Esempio n. 5
0
 public void DisableLogging()
 {
     this.ApiLogFlags = ApiLogFlags.None;
 }
Esempio n. 6
0
 public bool MatchLogLevel(ApiLogFlags level)
 {
     return((this.ApiLogFlags & level) == level);
 }