Skip to main content

ILogWithContext

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
public interface ILogWithContext : ILogWithException, ILog

Methods​

PushProperty(String, Object)​

Pushes a property on the current log context, returning an System.IDisposable to remove the property again from the async context.

View Source​
Declaration
IDisposable PushProperty(string key, object value)
Returns​

System.IDisposable: Interface for popping the property off the stack

Parameters​
TypeNameDescription
System.StringkeyProperty Name

| | System.Object | value | Property Value

|