The system is using the NHibernate.Logging.Serilog to log NHibernate.
It seems the only way to configure NHibernate.Logging.Serilog is the appSettings and serilog-settings-appsettings.
Is there a way to configure it by code without using appSettings?
Thanks in advance