I am using serilog to post logs to report portal. What i need is to send the screenshot as well with the logs.
I have searched it but could'nt find any solution. Please help.
Is it already resolved? Please share how.
@nvborisenko No, its still unresolved.
Put you message in special format. List of available formatters is here.
Example:
var screenshotBase64 = Convert.ToBase64String(yourscreenshot);
logger.Information("my super message {rp#base64#image/png#" + screenshotBase64 + "}");
@nvborisenko It worked. Thank you. :)
Most helpful comment
Put you message in special format. List of available formatters is here.
Example: