static FileLog() { var cleanupPeriod = TimeSpan.FromSeconds(5); DefaultMuxer = new MultiFileMuxer(new SingleFileMuxerFactory()); DefaultMuxer.InitiateOrphanedRegistrationsCleanup(cleanupPeriod); Instances = new WeakSet <FileLog>(); Instances.InitiatePurge(cleanupPeriod); }
static FileLog() { DefaultMuxer = new MultiFileMuxer(new SingleFileMuxerFactory()); DefaultMuxer.InitiateOrphanedRegistrationsCleanup(TimeSpan.FromSeconds(5)); }