Endjin.Assembly.ChangeDetection.Infrastructure.Tracer.Instrument C# (CSharp) Method

Instrument() private method

private Instrument ( Level level, TypeHashes type, string method, string fmt ) : void
level Level
type TypeHashes
method string
fmt string
return void
        public static void Instrument(Level level, TypeHashes type, string method, string fmt, params object[] args)
        {
            if (fmt == null)
            {
                throw new ArgumentNullException(fmt);
            }
            if (type == null)
            {
                throw new ArgumentNullException("type");
            }

            if (TracerConfig.Instance.IsEnabled(type, MessageTypes.Instrument, level))
            {
                TraceMsg(MsgTypeInstrument, GenerateTypeMethodName(type, method), DateTime.Now, fmt, args);
            }
        }

Same methods

Tracer::Instrument ( Level level, string fmt ) : void
Tracer::Instrument ( string fmt ) : void