saleem-mirza / serilog-sinks-sqlite

A Serilog sink that writes to SQLite
Apache License 2.0
56 stars 44 forks source link

Update SQLiteSink.cs #16

Closed yoandydt closed 6 years ago

yoandydt commented 6 years ago

In the class SQLiteSink.cs call InitializeDatabase (); before ... if (retentionPeriod.HasValue) {... and not later. I have done it and correct the error. Issues #15

saleem-mirza commented 6 years ago

@yoandydt good catch, thanks for contribution.