Implements a unified formatting mechanism to transform any log entry into its compact string representation. The persistence aspect of writing log entries
to the underlying plain text file is offered by its base class BasePlainTextPersistence.
Top
Top
Top
The following tables list the members exposed by the PlainTextPersistence type.
Name | Description | |
---|---|---|
![]() |
PlainTextPersistence | (Overloaded) Creates a new PlainTextPersistence strategy. |
Name | Description | |
---|---|---|
![]() |
Add |
Decorates and routes log entry adding requests, to the underlying channel or media.
This inversion of control method is responsible of the delegation of the concrete persistence handling, to a method OnAddXxx implemented by
the subclasses of this PersistenceStrategy.
(inherited from PersistenceStrategy).
|
![]() |
Equals | (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object). |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). |
![]() |
GetHashCode | Serves as the default hash function. (inherited from Object). |
![]() |
GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object). |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). |
![]() |
OnAddAlert |
By invoking the AddFormattedEntry(LogEntry) method with the alert and the literal "Alert" as argument values, handles the delegation of concretely persist
an Alert log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
![]() |
OnAddDebug |
By invoking the AddFormattedEntry(LogEntry) method with the debug and the literal "Debug" as argument values, handles the delegation of concretely persist
a Debug log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
![]() |
OnAddError |
By invoking the AddFormattedEntry(LogEntry) method with the error and the literal "Error" as argument values, handles the delegation of concretely persist
an Error log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
![]() |
OnAddFatalError |
By invoking the AddFormattedEntry(LogEntry) method with the fatalError and the literal "Fatal Error" as argument values, handles the delegation of concretely
persist a FatalError log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
![]() |
OnAddFormattedEntry | (Overloaded) By writing the string-formatted log entry to the underlying plain text file, this inversion control method handles the request to persist a formatted log entry to the media. (inherited from BasePlainTextPersistence). |
![]() |
OnAddInformation |
By invoking the AddFormattedEntry(LogEntry) method with the information and the literal "Information" as argument values, handles the delegation of concretely
persist an Information log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
![]() |
OnAddTrace |
By invoking the AddFormattedEntry(LogEntry) method with the trace and the literal "Trace" as argument values, handles the delegation of concretely persist
a Trace log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
![]() |
OnFormatEntry | By transforming the log entry into a string that compactly represents its application name, severity, message and exception, this method handles the delegation of concretely format a log entry. |
![]() |
OnInitializeWith | Initializes the persistence strategy with the specified entry source. (inherited from BasePlainTextPersistence). |
![]() ![]() |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object). |
![]() |
ToString | Returns a string that represents the current object. (inherited from Object). |
Name | Description | |
---|---|---|
![]() |
FromNullable | Converts object values to nullable relational data store values. (Defined by Object_ToNullable). |
![]() |
GetAttribute | Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). |
![]() |
GetAttribute<TAtribute> | (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). |
![]() |
GetAttributes | Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). |
![]() |
GetAttributes<TAtribute> | (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). |
![]() |
ToNullable<T> | Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable). |