How do I write an entry to a log4net file regardless which log level is set at that moment? The only way I can assure a line will be added, is to add a 'Fatal' entry. And that is ugly and will even fail if the level is set to 'Off'.
For instance: I want to log that the log level was changed to 'Error'. If I would use:
Logger.Log.Info($"LogLevel set to {logLevelText}");
Then this line will not be written if the level was just set to 'Error'.
So, is there a way to just write a line to the log?