Added log() and log_json() shortcut functions to record current time for debug entry