From 1f8ac7810dcf9c601ada2c137d2c859ffc577655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 9 Feb 2021 15:13:16 +0100 Subject: [PATCH] use logger --- Controllers/HanyadikHetVanController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/HanyadikHetVanController.cs b/Controllers/HanyadikHetVanController.cs index be73c6f..338c6bc 100644 --- a/Controllers/HanyadikHetVanController.cs +++ b/Controllers/HanyadikHetVanController.cs @@ -21,7 +21,7 @@ namespace hanyadikhetvan.Controllers [HttpGet] public HanyadikHetVan Get() { - Console.WriteLine(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"))); + _logger.LogWarning(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE")).ToString()); return new HanyadikHetVan(); } }