fork of https://bitbucket.org/KjellKod/g3log