Skip to content

Commit 037c4c2

Browse files
committed
Removed obsolete sample code
1 parent ffd2cff commit 037c4c2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

sample/AppConfigDemo/Program.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,6 @@ public static class Program
1414

1515
public static void Main()
1616
{
17-
// Legacy interface - do not use this anymore
18-
//Log.Logger = new LoggerConfiguration().WriteTo
19-
// .MSSqlServer(
20-
// connectionString: _connectionString,
21-
// tableName: _tableName,
22-
// restrictedToMinimumLevel: LogEventLevel.Debug,
23-
// batchPostingLimit: MSSqlServerSink.DefaultBatchPostingLimit,
24-
// period: null,
25-
// formatProvider: null,
26-
// autoCreateSqlTable: true,
27-
// columnOptions: null,
28-
// schemaName: _schemaName,
29-
// logEventFormatter: null)
30-
// .CreateLogger();
31-
3217
// New MSSqlServerSinkOptions based interface
3318
Log.Logger = new LoggerConfiguration().WriteTo
3419
.MSSqlServer(

0 commit comments

Comments
 (0)