Skip to content

3eee2434 a0bb 8134 91aa f578061bb58a

Axel Kesseler edited this page Mar 1, 2023 · 12 revisions

LoggerSettingsJson.GetSection Method

Gets the subsection of provided section key.

Namespace: Plexdata.LogWriter.Internals.Settings
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public ILoggerSettingsSection GetSection(
	string key
)

Parameters

 

key
Type: System.String
The key to get a configuration section for.

Return Value

Type: ILoggerSettingsSection
An instance of ILoggerSettingsSection that represents a configuration subsection. This method never returns null.

Implements

ILoggerSettingsSection.GetSection(String)

Remarks

This method tries to find the subsection for a particular section key. The section key may contain multiple section parts. But each part must be separated by a colon.

See Also

Reference

LoggerSettingsJson Class
Plexdata.LogWriter.Internals.Settings Namespace
LoggerSettingsBase.FindSection(String)

Clone this wiki locally