Adding WriteStart and WriteStop to LoggerExtensions.

It gives the ability to write structured logs. Added start and stop to TraceType, WriteStart and WriteStop, and corresponding tests.