Class LoggingSettingsExtensions
Extension methods for LoggingSettings.
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 |
---|---|---|
LoggingSettings | loggingSettings | The logging settings. |
IHostEnvironment | hostEnvironment | The host environment. |
Returns
Type | Description |
---|---|
System.String | The absolute logging path. |