Class DummyLoggerAdapter
Default logger implementation with no real logging capability.
Provides an empty implementation of logging for the framework when no other logger created.
Inheritance
System.Object
DummyLoggerAdapter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: TcOpen.Inxton.Logging.dll
Syntax
public class DummyLoggerAdapter : ILogger
Constructors
|
Improve this Doc
View Source
DummyLoggerAdapter()
Declaration
public DummyLoggerAdapter()
Fields
|
Improve this Doc
View Source
lastMessage
Declaration
(string message, object payload, string serverity) lastMessage
Field Value
Type |
Description |
System.ValueTuple<System.String, System.Object, System.String> |
|
|
Improve this Doc
View Source
MessageQueue
Declaration
[Obsolete("This property is only for testing. Do not queue messages in production!")]
public ConcurrentQueue<(string message, object payload, string serverity)> MessageQueue
Field Value
Type |
Description |
System.Collections.Concurrent.ConcurrentQueue<System.ValueTuple<System.String, System.Object, System.String>> |
|
Properties
|
Improve this Doc
View Source
LastMessage
Declaration
public (string message, object payload, string serverity) LastMessage { get; }
Property Value
Type |
Description |
System.ValueTuple<System.String, System.Object, System.String> |
|
Methods
|
Improve this Doc
View Source
ClearLastMessage()
Declaration
public void ClearLastMessage()
|
Improve this Doc
View Source
Debug<T>(String, T)
Declaration
public void Debug<T>(string stringTemplate, T payload = null)
Parameters
Type |
Name |
Description |
System.String |
stringTemplate |
|
T |
payload |
|
Type Parameters
|
Improve this Doc
View Source
Error<T>(String, T)
Declaration
public void Error<T>(string stringTemplate, T payload = null)
Parameters
Type |
Name |
Description |
System.String |
stringTemplate |
|
T |
payload |
|
Type Parameters
|
Improve this Doc
View Source
Fatal<T>(String, T)
Declaration
public void Fatal<T>(string stringTemplate, T payload = null)
Parameters
Type |
Name |
Description |
System.String |
stringTemplate |
|
T |
payload |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public void Information<T>(string stringTemplate, T payload = null)
Parameters
Type |
Name |
Description |
System.String |
stringTemplate |
|
T |
payload |
|
Type Parameters
|
Improve this Doc
View Source
IsLastMessageEmpty()
Declaration
public bool IsLastMessageEmpty()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
QueueMessages()
Declaration
[Obsolete("This method is only for testing. Do not queue messages in production!")]
public void QueueMessages()
|
Improve this Doc
View Source
Verbose<T>(String, T)
Declaration
public void Verbose<T>(string stringTemplate, T payload = null)
Parameters
Type |
Name |
Description |
System.String |
stringTemplate |
|
T |
payload |
|
Type Parameters
|
Improve this Doc
View Source
Warning<T>(String, T)
Declaration
public void Warning<T>(string stringTemplate, T payload = null)
Parameters
Type |
Name |
Description |
System.String |
stringTemplate |
|
T |
payload |
|
Type Parameters
Implements