Line breaks in json message


Author
Message
MagnusJ
MagnusJ
New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)
Group: Forum Members
Posts: 2, Visits: 2
Hi! When I mark a message I see the entire json message in the details box.That's great, but is there any way to display the line breaks as actual line breaks, instead of \n? If I right click on the message, choose copy cell, and then paste in a text editor I get the message in the right format, but that's a bit cumbersome.

Reply
MagnusJ
MagnusJ
New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)New Member (17 reputation)
Group: Forum Members
Posts: 2, Visits: 2


Hi, and thanks for the reply.

Let me try to explain it better. Many of my log posts have line breaks. In box 1 (see image) it gets nicely formatted as separate lines, but the in box 2 the message is displayed on one line (separated with \r\n). Would it be possible to have separate lines in box 2 as well, or would that be in violation of the json specification? Maybe this problem have its source in how the logs are written, I'm using NLog.

Kind regards
Magnus J

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Login

Explore
Messages
Mentions
Search