Skip to content

Instantly share code, notes, and snippets.

@SebastianStehle
Last active April 8, 2017 20:42
Show Gist options
  • Save SebastianStehle/f934782ab7a1bdb5023271b136d4cd30 to your computer and use it in GitHub Desktop.
Save SebastianStehle/f934782ab7a1bdb5023271b136d4cd30 to your computer and use it in GitHub Desktop.
log.LogError(exception, w => w
.WriteProperty("action", "HandleCommand.")
.WriteProperty("actionId", context.ContextId.ToString())
.WriteProperty("state", "Failed")
.WriteProperty("commandType", context.Command.GetType().Name));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment