Yes maybe. It is extremely important to consider the configuration, so you can configure it so that you donβt write so many logs, and then also have little overhead.
eg.
if (logger.IsDebugEnabled) { logger.DebugFormat("log: {0}", myObject.ToString()); }
This will execute ToString only when necessary.
The fact that you need to write a magazine to disk when you turned it on - you cannot do much against it. But itβs usually not recommended to write too much magazine, because no one will ever read it.
source share