[WIP] Working on new log functions : round 2!