Table of Contents

Class LogContextCache

Namespace: Casewhere.Infrastructure.Logging
Assembly: Casewhere.Infrastructure.Logging.dll

public static class LogContextCache

Inheritance

objectLogContextCache

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object)

Properties

DisableLogging

public static bool DisableLogging { get; }

Property Value

bool

Methods

Get(string)

public static string Get(string key)

Parameters

key string

Returns

string

Set(string, object)

public static void Set(string key, object value)

Parameters

key string

value object

TryGetHttpContext(string, out object)

public static bool TryGetHttpContext(string key, out object value)

Parameters

key string

value object

Returns

bool

TrySetHttpContext(string, object)

public static bool TrySetHttpContext(string key, object value)

Parameters

key string

value object

Returns

bool