updated custom log level method