My quick and dirty way of doing it. The target tag is the most relevant part if you're already using NLog.
Wednesday, April 09, 2014
[MethodImpl(MethodImplOptions.Synchronized)]The method can be executed by only one thread at a time. Locks the instance or, for static methods, the class.
[EditorBrowsable(EditorBrowsableState.Never)]Hides a method from Intellisense.
Posted by jim at 11:24 AM