public override AspNetCore.RaygunClient GetClient(AspNetCore.RaygunSettings settings, HttpContext context) { var client = base.GetClient(settings, context); var email = "*****@*****.**"; client.UserInfo = new RaygunIdentifierMessage(email) { IsAnonymous = false, Email = email, FullName = "Bob" }; return(client); }
public override AspNetCore.RaygunClient GetClient(AspNetCore.RaygunSettings settings, HttpContext context) { var client = base.GetClient(settings, context); var email = "*****@*****.**"; client.UserInfo = new RaygunIdentifierMessage(email) { IsAnonymous = false, Email = email, FullName = "Bob" }; client.SendingMessage += (_, args) => { args.Message.Details.Tags ??= new List <string>(); args.Message.Details.Tags.Add("new tag"); }; return(client); }