Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Proto.Actor/Supervision/AllForOneStrategyLogMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace Proto;

internal static partial class AllForOneStrategyLogMessages
{
[LoggerMessage(0, LogLevel.Information, "{Action} {Actor} because of {Reason}")]
// `reason` is kept so the logger captures the exception automatically
[LoggerMessage(0, LogLevel.Information, "{Action} {Actor}")]
internal static partial void AllForOneStrategyAction(this ILogger logger, string action, PID actor, Exception reason);
}
3 changes: 2 additions & 1 deletion src/Proto.Actor/Supervision/OneForOneStrategyLogMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace Proto;

internal static partial class OneForOneStrategyLogMessages
{
[LoggerMessage(0, LogLevel.Information, "{Action} {Actor} because of {Reason}")]
// `reason` is kept so the logger captures the exception automatically
[LoggerMessage(0, LogLevel.Information, "{Action} {Actor}")]
internal static partial void OneForOneStrategyAction(this ILogger logger, string action, PID actor, Exception reason);
}
Loading