public Tracer(Level level, TypeHashes type, string method)
{
if (type == null)
{
throw new ArgumentNullException("type");
}
if (method == null)
{
throw new ArgumentNullException("method");
}
this.myEnterTime = DateTime.MinValue;
this.myMethod = method;
this.myType = type;
this.myLevel = level;
this.myTypeMethodName = null;
if (TracerConfig.Instance.IsEnabled(this.myType, MessageTypes.InOut, this.myLevel))
{
this.myEnterTime = DateTime.Now;
TraceMsg(MsgTypeIn, this.TypeMethodName, this.myEnterTime, null, null);
}
}