Working on custom logger