This pattern has problems with conditional params (like ? in begin of query string when there is not query string.. etc.).
I tried "when layout renderer" + "Condition" for conditional formatting, but without success (http://nlog-project.org/wiki/When_layout_renderer ), maybe I am using bad syntax..
But without success :) = "..NLog.Conditions.ConditionParseException: Invalid punctuation: $"
I think, that problem is two nested layouts.. but how I can I use these kind conditions in variables?
Do you know any simpler solution to get fullUrl of request? (without custom layout class, just in config file..)