Skip to content

Commit 1353f45

Browse files
Correcting duplicate words
1 parent 1318ecf commit 1353f45

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-monitor/app/ilogger.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class Program
7474
{
7575
var host = BuildWebHost(args);
7676
var logger = host.Services.GetRequiredService<ILogger<Program>>();
77-
logger.LogInformation("From Program. Running the host now.."); // This will be picked up up by AI
77+
logger.LogInformation("From Program. Running the host now.."); // This will be picked up by AI
7878
host.Run();
7979
}
8080

@@ -115,7 +115,7 @@ public class Startup
115115
{
116116
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
117117

118-
// The following be picked up up by Application Insights.
118+
// The following be picked up by Application Insights.
119119
_logger.LogInformation("From ConfigureServices. Services.AddMVC invoked");
120120
}
121121

@@ -124,13 +124,13 @@ public class Startup
124124
{
125125
if (env.IsDevelopment())
126126
{
127-
// The following be picked up up by Application Insights.
127+
// The following be picked up by Application Insights.
128128
_logger.LogInformation("Configuring for Development environment");
129129
app.UseDeveloperExceptionPage();
130130
}
131131
else
132132
{
133-
// The following be picked up up by Application Insights.
133+
// The following be picked up by Application Insights.
134134
_logger.LogInformation("Configuring for Production environment");
135135
}
136136

@@ -153,7 +153,7 @@ public class ValuesController : ControllerBase
153153
[HttpGet]
154154
public ActionResult<IEnumerable<string>> Get()
155155
{
156-
// All the following logs will be picked upby Application Insights.
156+
// All the following logs will be picked up by Application Insights.
157157
// and all have ("MyKey", "MyValue") in Properties.
158158
using (_logger.BeginScope(new Dictionary<string, object> { { "MyKey", "MyValue" } }))
159159
{

0 commit comments

Comments
 (0)