Example #1
0
        private void ReadApiLogMode()
        {
            var apiLogAttr = this.GetAttribute <ApiLogAttribute>();

            if (apiLogAttr != null)
            {
                _logMode = apiLogAttr.Mode;
            }
        }
Example #2
0
 public ApiLogAttribute(ApiLogMode mode)
 {
     Mode = mode;
 }
Example #3
0
 public ApiLogAttribute()
 {
     Mode = ApiLogMode.Both;
 }