add func name and line no in console, add date format for filelog