using System.Collections.Generic;
static void Main(string[] args)
var logger = new DebugLogger(new DebugLogger.DebugLoggerConfig()
MethodsWithContextLogging = new HashSet<MethodBase>()
typeof(A).GetMethod("Go", BindingFlags.NonPublic | BindingFlags.Instance),
typeof(B).GetMethod("Go", BindingFlags.NonPublic | BindingFlags.Instance)
Console.WriteLine("do not need GetStackFrame()");