[NXCM-5214] Let tasks define their own logger (if they need it)

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>