Skip to content

Commit

Permalink
(#87) update logging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
eggwhat committed May 17, 2024
1 parent 81d89b8 commit d8f28c9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ internal sealed class MessageToLogTemplateMapper : IMessageToLogTemplateMapper
private static IReadOnlyDictionary<Type, HandlerLogTemplate> MessageTemplates
=> new Dictionary<Type, HandlerLogTemplate>
{
{
typeof(CreateRootOrganization), new HandlerLogTemplate
{
After = "Created a new root organization with id: {OrganizationId}."
}
},
{
typeof(CreateOrganization), new HandlerLogTemplate
{
After = "Added a new organization with id: {OrganizationId}."
After = "Added a new child organization with id: {OrganizationId} for parent with id: {ParentId}."
}
},
{
Expand Down

0 comments on commit d8f28c9

Please sign in to comment.