Added listener & sender example.
Refactoring. Added globalMinLogLevel.