P
Phill W.
For some time, I've been adding "trace level" logging to my code using
Imports System.Reflection
Private Function XYZ( a1 as A, b1 as B, c1 as C, ...
TRACE.Log( MethodBase.GetCurrentMethod().Name _
, a1, ba, c1 )
but recently, I noticed one of my colleagues using this instead
TRACE.Log( MethodInfo.GetCurrentMethod().Name _
, a1, ba, c1 )
Is there any particular advantage to using either one?
TIA,
Phill W.
Imports System.Reflection
Private Function XYZ( a1 as A, b1 as B, c1 as C, ...
TRACE.Log( MethodBase.GetCurrentMethod().Name _
, a1, ba, c1 )
but recently, I noticed one of my colleagues using this instead
TRACE.Log( MethodInfo.GetCurrentMethod().Name _
, a1, ba, c1 )
Is there any particular advantage to using either one?
TIA,
Phill W.