Added Log::registerAdapter method