Class LoggingSettingsExtensions
Extension methods for Logging
Inheritance
System.Object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Core.dll
Syntax
public static class LoggingSettingsExtensions
Methods
View SourceGetAbsoluteLoggingPath(LoggingSettings, IHostEnvironment)
Gets the absolute logging path (maps a virtual path to the applications content root).
Declaration
public static string GetAbsoluteLoggingPath(this LoggingSettings loggingSettings, IHostEnvironment hostEnvironment)
Parameters
Type | Name | Description |
---|---|---|
Logging |
loggingSettings | The logging settings. |
IHost |
hostEnvironment | The host environment. |
Returns
Type | Description |
---|---|
System. |
The absolute logging path. |