Added draft implementation of logging extension.