public static IAbstractionContext Error(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Error);
public static IAbstractionContext Fatal(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Fatal);
public static IAbstractionContext Information(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Information);
public static IAbstractionContext Warning(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Warning);
public static IAbstractionContext Debug(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Debug);
public static IAbstractionContext Trace(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Trace);
/// <summary> /// Sets a message that explains why something happened like Canceled a Routine or a Decision. /// </summary> public static IAbstractionContext Because(this IAbstractionContext category, string reason) => category.SetItem(AbstractionProperties.Message, reason);