public void PrecalculateVolatileLayouts(LogEventInfo logEvent) { lock (this.SyncRoot) { if (this.IsInitialized) { foreach (Layout l in this.allLayouts) { l.Precalculate(logEvent); } } } }