ENYO-2570: Updated nolog() to be an inner function

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>