Adding WriteStart and WriteStop to LoggerExtensions.

It gives the ability to write structured logs. Added start and stop to TraceType, WriteStart and WriteStop to LoggerExtensions, and created corresponding tests.
Why do you need test