PFLogger Class |
Namespace: Packflow.Core
public sealed class PFLogger : ILogger
The PFLogger type exposes the following members.
Name | Description | |
---|---|---|
![]() | Created |
Gets the time of creation of this logger instance.
|
![]() | LastStep |
Gets the last step of execution.
|
![]() | LastStepsToShow |
Gets or sets the last steps to show in an exception message.
|
![]() | Limit_Steps |
Gets or sets the limit of steps kept alive; older steps are erased.
|
![]() | LogCriticals |
Gets or sets a value indicating whether entries with "Critical" level are sent to the database.
Default value: false.
|
![]() | LogErrors |
Gets or sets a value indicating whether entries with "Error" level are sent to the database.
Default value: false.
|
![]() | LoggedObject |
Gets the loggable object.
|
![]() | LogInformations |
Gets or sets a value indicating whether entries with "Information" level are sent to the database.
Default value: false.
|
![]() | Logs |
Gets the relation between a structure object and its log entries.
|
![]() | LogSteps |
Gets or sets a value indicating whether entries with "Step" level are sent to the database.
Default value: false.
|
![]() | LogWarnings |
Gets or sets a value indicating whether entries with "Warning" level are sent to the database.
Default value: false.
|
![]() | ParentSite |
Gets the parent site.
|
![]() | Silent |
Gets or sets a value indicating whether this PFLogger is silent.
Raising this flag will disable any log occurring on this instance.
|
Name | Description | |
---|---|---|
![]() | Critical(String) |
Logs an entry with the level "Critical".
|
![]() | Critical(String, PFLogger_Category) |
Logs an entry with the level "Critical".
|
![]() | Error(String) |
Logs an entry with the level "Error".
|
![]() | Error(Exception, String) |
Logs an entry with the level "Error".
|
![]() | Error(String, PFLogger_Category) |
Logs an entry with the level "Error".
|
![]() | Error(String, Object) |
Logs an entry with the level "Error".
|
![]() | Error(String, String) |
Logs an entry with the level "Error".
|
![]() | Error(Exception, PFLogger_Category, String) |
Logs an entry with the level "Error".
|
![]() | Error(Exception, String, Object) |
Logs an entry with the level "Error".
|
![]() | Error(Exception, String, String) |
Logs an entry with the level "Error".
|
![]() | Error(Exception, PFLogger_Category, String, Object) |
Logs an entry with the level "Error".
|
![]() | Error(Exception, PFLogger_Category, String, String) |
Logs an entry with the level "Error".
|
![]() | GetLastSteps |
Gets the last steps recorded in this logger formatted in a single string.
|
![]() | Information(String) |
Logs an entry with the level "Information".
|
![]() | Information(String, PFLogger_Category) |
Logs an entry with the level "Information".
|
![]() | Step |
Adds a step in the logger and format it using values.
|
![]() | StepConcat |
Adds a step in the logger from texts to merge.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Warning(String) |
Logs an entry with the level "Warning".
|
![]() | Warning(String) |
Logs an entry with the level "Warning".
|
![]() | Warning(String, PFLogger_Category) |
Logs an entry with the level "Warning".
|
Name | Description | |
---|---|---|
![]() | AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) |
![]() | EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) |
![]() | EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) |
![]() | GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) |
![]() | IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) |
![]() | IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) |
![]() | Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) |
![]() | Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) |
![]() | SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |
![]() | SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |
![]() | SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |