@@ -74,7 +74,7 @@ public class Program
74
74
{
75
75
var host = BuildWebHost (args );
76
76
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
78
78
host .Run ();
79
79
}
80
80
@@ -115,7 +115,7 @@ public class Startup
115
115
{
116
116
services .AddMvc ().SetCompatibilityVersion (CompatibilityVersion .Version_2_1 );
117
117
118
- // The following be picked up up by Application Insights.
118
+ // The following be picked up by Application Insights.
119
119
_logger .LogInformation (" From ConfigureServices. Services.AddMVC invoked" );
120
120
}
121
121
@@ -124,13 +124,13 @@ public class Startup
124
124
{
125
125
if (env .IsDevelopment ())
126
126
{
127
- // The following be picked up up by Application Insights.
127
+ // The following be picked up by Application Insights.
128
128
_logger .LogInformation (" Configuring for Development environment" );
129
129
app .UseDeveloperExceptionPage ();
130
130
}
131
131
else
132
132
{
133
- // The following be picked up up by Application Insights.
133
+ // The following be picked up by Application Insights.
134
134
_logger .LogInformation (" Configuring for Production environment" );
135
135
}
136
136
@@ -153,7 +153,7 @@ public class ValuesController : ControllerBase
153
153
[HttpGet ]
154
154
public ActionResult <IEnumerable <string >> Get ()
155
155
{
156
- // All the following logs will be picked upby Application Insights.
156
+ // All the following logs will be picked up by Application Insights.
157
157
// and all have ("MyKey", "MyValue") in Properties.
158
158
using (_logger .BeginScope (new Dictionary <string , object > { { " MyKey" , " MyValue" } }))
159
159
{
0 commit comments