File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -35,22 +35,20 @@ public void ConfigureServices(IServiceCollection services)
35
35
/// <param name="loggerFactory">Logger factory.</param>
36
36
public void Configure ( IApplicationBuilder app , IHostingEnvironment env , ILoggerFactory loggerFactory )
37
37
{
38
-
39
38
/******************************** Define Your Logger *********************************/
40
39
/* */
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 ) ; //
43
42
// //
44
- // Choose one or more of those loggers //
43
+ // Choose one of those loggers //
45
44
// //
46
45
loggerFactory . AddHECRawSplunkLogger ( splunkLoggerConfiguration ) ; //
47
46
// //
47
+ //loggerFactory.AddHECJsonSplunkLogger(splunkLoggerConfiguration); //
48
48
// //
49
- //loggerFactory.AddHECJsonSplunkLogger(splunkConfiguration); //
49
+ //loggerFactory.AddTcpSplunkLogger(splunkLoggerConfiguration); //
50
50
// //
51
- //loggerFactory.AddTcpSplunkLogger(splunkConfiguration); //
52
- // //
53
- //loggerFactory.AddUdpSplunkLogger(splunkConfiguration); //
51
+ //loggerFactory.AddUdpSplunkLogger(splunkLoggerConfiguration); //
54
52
/* */
55
53
/******************************** Define Your Logger *********************************/
56
54
You can’t perform that action at this time.
0 commit comments