Skip to content

Commit 0e82c55

Browse files
committed
Remove commented log message in InfoController's Get method for clarity
1 parent 4fe8d4e commit 0e82c55

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public InfoController(ILogger<InfoController> logger)
1717
public IActionResult Get()
1818
{
1919
var helloworld = "Hello World";
20-
// Log a message at the Information level
2120
var message = "Hello World from InfoController. This is a sample message.";
2221
_logger.LogInformation(message);
2322
return Ok(message);

0 commit comments

Comments
 (0)