Add a basic debug logger