-
Notifications
You must be signed in to change notification settings - Fork 0
91281269 659d a2de d3be a9dc3f66ef7a
Axel Kesseler edited this page Mar 1, 2023
·
12 revisions
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
C#
void SetFilename(
string filename,
string filetype
)
- filename
- Type: System.String
The name of the used file. - filetype
- Type: System.String
The type of the used file.
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.
ILoggerSettingsBuilder Interface
SetFilename Overload
Plexdata.LogWriter.Abstraction Namespace