Example #1
0
        public ChoBaseProfile(bool condition, string msg, ChoBaseProfile outerProfile = null)
        {
            _condition    = condition;
            _outerProfile = outerProfile;

            if (_condition)
            {
                if (!msg.IsNullOrEmpty())
                {
                    _msg = msg;
                }
            }

            if (outerProfile != null)
            {
                _indent = outerProfile.Indent + 1;
            }

            StartIfNotStarted();
        }
Example #2
0
 internal ChoBufferProfile(bool condition, string msg, ChoBaseProfile outerProfile = null)
     : base(condition, msg, outerProfile == null ? ChoETLFramework.GlobalProfile : outerProfile)
 {
 }
Example #3
0
 public ChoBufferProfile(string msg, ChoBaseProfile outerProfile = null)
     : base(msg, outerProfile == null ? ChoETLFramework.GlobalProfile : outerProfile)
 {
 }
Example #4
0
 public ChoBaseProfile(string msg, ChoBaseProfile outerProfile = null)
     : this(ChoETLFramework.TraceSwitch.TraceVerbose, msg, outerProfile)
 {
 }