Ejemplo n.º 1
0
 public static IAbstractionContext Error(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Error);
Ejemplo n.º 2
0
 public static IAbstractionContext Fatal(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Fatal);
Ejemplo n.º 3
0
 public static IAbstractionContext Information(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Information);
Ejemplo n.º 4
0
 public static IAbstractionContext Warning(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Warning);
Ejemplo n.º 5
0
 public static IAbstractionContext Debug(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Debug);
Ejemplo n.º 6
0
 public static IAbstractionContext Trace(this IAbstractionContext context) => context.SetItem(AbstractionProperties.LogLevel, LogLevel.Trace);
Ejemplo n.º 7
0
 /// <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);