Simplified the ILogger interface.
Added logger parameters for compatibility with Serilog.