[WIP] Add a logger