[Kewei] add logger and getId to fully assemble LibraryDTO from library