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