[Thread Safety] Deprecation warning added.

Synchronized class is now deprecated. Do not use it. Logger itself will
become thread-safe soon.