ActionLogger class¶
Attributes: [DebuggerDisplay("ActionLogger: {Level}")]
Defined in
Namespace: Splat Assembly: Splat.Logging.dll Full name: Splat.ActionLogger Modifiers: public
Summary¶
View source (opens in a new tab)
A logger where you pass in Action delegates that will be invoked when the Write methods are invoked.
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Class hierarchy
classDiagram
class ActionLogger
class ILogger {
<<interface>>
}
ILogger <|.. ActionLogger
Implements: ILogger
Remarks¶
Initializes a new instance of the ActionLogger class.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | A logger where you pass in Action delegates that will be invoked when the Write methods are invoked. |
Properties¶
| Name | Summary |
|---|---|
| Level | Gets the level at which the target will emit messages. |
Methods¶
| Name | Summary |
|---|---|
| Write | Writes a message to the target. |
Inherited members
System.Object.Equals(System.Object)(opens in a new tab)System.Object.Equals(System.Object,System.Object)(opens in a new tab)System.Object.GetHashCode(opens in a new tab)System.Object.GetType(opens in a new tab)System.Object.MemberwiseClone(opens in a new tab)System.Object.ReferenceEquals(System.Object,System.Object)(opens in a new tab)System.Object.ToString(opens in a new tab)