a little log class, that we can make nicer, but for now, it's ok