fix logger and add functions for all occasions
Merge branch 'master' of github.com:Emberwalker/derplogs