dlog, separate log functions, do not use with dlib yet