Moving log related base classes to "details" namespace.