Skip to content

78beab50 0041 5622 3d57 fe5e1e612417

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

LoggerSettingsBuilder Class

The default implementation that builds the logger settings from external configuration.

Inheritance Hierarchy

System.Object
  Plexdata.LogWriter.Settings.LoggerSettingsBuilder
Namespace: Plexdata.LogWriter.Settings
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public class LoggerSettingsBuilder : ILoggerSettingsBuilder

The LoggerSettingsBuilder type exposes the following members.

Constructors

 

Name Description
Public method LoggerSettingsBuilder() The default class constructor.
Public method LoggerSettingsBuilder(String) The extended class constructor.
Public method LoggerSettingsBuilder(String, String) The fully parameterized class constructor.
  Back to Top

Properties

 

Name Description
Public property FileName The filename used to build the configuration.
Public property FileType The type of the configuration file.
  Back to Top

Methods

 

Name Description
Public method Build Builds the logger settings configuration instance.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Private method IsEqual Determines the equality of two string.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetFilename(String) Sets the filename to be used to load the logger settings from.
Public method SetFilename(String, String) Sets the filename and type to be used to load the logger settings from.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Fields

 

Name Description
Private field filename This field represents the used filename.
Private field filetype This field represents the used filetype.
  Back to Top

Remarks

Mainly, this implementation serves as a simply replacement of type IConfigurationBuilder and has been created to solve conflicts with different versions of that interface.

See Also

Reference

Plexdata.LogWriter.Settings Namespace

Clone this wiki locally