private static void CheckScopeValue(ILoggingScope scope)
 {
     if (scope == null)
     {
         throw new TitanException($"{nameof(scope)} is null. Cannot push a {nameof(LogContext)} into a null scope.");
     }
 }
 public static ILoggingScope Push(this ILoggingScope scope, string key, object value, bool destructorObjects = false)
 {
     CheckScopeValue(scope);
     CheckContextKey(key);
     scope.PushContext(LogContext.PushProperty(key, value, destructorObjects));
     return(scope);
 }
 public static ILoggingScope Push(this ILoggingScope scope, IEnumerable <KeyValuePair <string, object> > properties)
 {
     CheckScopeValue(scope);
     return(scope);
 }