NEW FEATURE: Added generic callback mechanism with async support. Logging is now implemented through callbacks. NEW FEATURE: support for interpolation of environment variables. NOTE: breaking change. Log modules need to be reconfigured and they no longer take a config argument (access config via this.config instead), see README.