By default, all logging targets are synchronous blocking operations. It may be desirable to log in chunks to a target to increase performance. The configuration can be defined using runtime properties, a log.config file, or the app.config/web.config.
Example Runtime Configuration
//Clear all the configuration
Log.Config.ResetConfiguration();
//Add a Target and make it Buffered
FileTarget fileTarget = new FileTarget("log.txt");
fileTarget.LoggingMode = LoggingMode.Buffered;
fileTarget.BufferSize = 100; //Log in chunks of 100 entries
Log.Config.Targets.Add(fileTarget);