コード例 #1
0
        public void RunService1()
        {
            if (logger.IsEnabled(LogLevel.Information))
            {
                logger.LogInformation($"Executing service method {nameof(RunService1)}");
            }

            service2.RunService2();
        }