Example implementation of the logger with test main class.