コード例 #1
0
            public void Critical(Exception ex)
            {
                ILogger logger = ServiceRegistration.Get <ILogger>(false);

                if (logger != null)
                {
                    logger.Critical(ex);
                }
            }
コード例 #2
0
            public void Critical(string format, Exception ex, params object[] args)
            {
                ILogger logger = ServiceRegistration.Get <ILogger>(false);

                if (logger != null)
                {
                    logger.Critical(format, ex, args);
                }
            }