Skip to content

91281269 659d a2de d3be a9dc3f66ef7a

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

ILoggerSettingsBuilder.SetFilename Method (String, String)

Sets the filename and type to be used to load the logger settings from.

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

Syntax

C#

void SetFilename(
	string filename,
	string filetype
)

Parameters

 

filename
Type: System.String
The name of the used file.
filetype
Type: System.String
The type of the used file.

Remarks

This method sets the filename and type to be used to load the logger settings from. The type is determined from parameter filetype. Allowed are the types JSON and XML. Any other type will be ignored. Furthermore, nothing does happen if either the filename is empty, or the file does not exist, or if the file type is not supported. Note that the configuration file is expected within current directory if no file path is applied.

See Also

Reference

ILoggerSettingsBuilder Interface
SetFilename Overload
Plexdata.LogWriter.Abstraction Namespace

Clone this wiki locally