Esempio n. 1
0
        private static void write <T>(String state, String specific, HttpContext context)
        {
            if (!String.IsNullOrEmpty(specific))
            {
                specific = $"[{specific}] ";
            }

            context.AddLog(
                $"{state} {typeof(T).Name} {specific}" +
                $"at ${context.Request.Path}"
                );
        }