Exemple #1
0
        public static ILog GetCurrentTypeLog(this ILogFactory applicationLog)
        {
            var stackFrame = new StackFrame(1, false);
            var type       = stackFrame.GetMethod().DeclaringType;

            return(applicationLog.GetTypeLog(type));
        }