Add logs with different levels (debug, info, ...) to each function in order to facilitate the development