add custom logger supporting