Use DEBUGOUT instead of manually outputting time and function name.