Fixes up all logging. Configures serilog logging to replace MS logging just like serilog does, adds new ILoggerConfiguration so we aren't hard coding things, dynamically adds enrichers when the container is ready to resolve services.

This commit is contained in:
Shannon
2020-04-22 14:23:56 +10:00
parent d0f1ea0e59
commit 46e14f7692
32 changed files with 359 additions and 191 deletions

View File

@@ -0,0 +1,13 @@
namespace Umbraco.Core.Logging
{
public interface ILoggingConfiguration
{
/// <summary>
/// The physical path where logs are stored
/// </summary>
string LogDirectory { get; }
string LogConfigurationFile { get; }
string UserLogConfigurationFile { get; }
}
}