Skip to content

Commit 1719ab4

Browse files
committed
Code adjust
#60
1 parent bcef281 commit 1719ab4

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/SampleWebAPI/Startup.cs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,20 @@ public void ConfigureServices(IServiceCollection services)
3535
/// <param name="loggerFactory">Logger factory.</param>
3636
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
3737
{
38-
3938
/******************************** Define Your Logger *********************************/
4039
/* */
41-
// Get Configuration to be used at Logger //
42-
var splunkLoggerConfiguration = GetSplunkLoggerConfiguration(app);
40+
// First get configuration to be used at Logger //
41+
var splunkLoggerConfiguration = GetSplunkLoggerConfiguration(app); //
4342
// //
44-
// Choose one or more of those loggers //
43+
// Choose one of those loggers //
4544
// //
4645
loggerFactory.AddHECRawSplunkLogger(splunkLoggerConfiguration); //
4746
// //
47+
//loggerFactory.AddHECJsonSplunkLogger(splunkLoggerConfiguration); //
4848
// //
49-
//loggerFactory.AddHECJsonSplunkLogger(splunkConfiguration); //
49+
//loggerFactory.AddTcpSplunkLogger(splunkLoggerConfiguration); //
5050
// //
51-
//loggerFactory.AddTcpSplunkLogger(splunkConfiguration); //
52-
// //
53-
//loggerFactory.AddUdpSplunkLogger(splunkConfiguration); //
51+
//loggerFactory.AddUdpSplunkLogger(splunkLoggerConfiguration); //
5452
/* */
5553
/******************************** Define Your Logger *********************************/
5654

0 commit comments

Comments
 (0)