Write() private method

private Write ( object value ) : void
value object
return void
Esempio n. 1
0
        public static void CallFull(params object[] args)
        {
            MethodBase mb         = new StackTrace(new StackFrame(1)).GetFrame(0).GetMethod();
            string     methodname = mb.DeclaringType.Name + "." + mb.Name;
            string     line       = GetStackTrace();

            line += methodname + "(" + _Parameterize(mb, args) + ")";
#if LOG4NET
            _Logger.Debug(line);
#else
            SysTrace.Write(line);
#endif
        }