def logger!(progname: self.class.name, target: LOG_TARGET, level: nil, debug: false)
      @logger = Logger.new(target).tap do |logger|
        level = Logger::DEBUG if debug

        logger.progname = "#{self.class.name}<#{progname}>"
        logger.level = level || self.class.log_level || K8s::Logging.log_level || LOG_LEVEL
      end
    end
def logger!(progname: self.class.name, target: LOG_TARGET, level: nil, debug: false)
      @logger = Logger.new(target).tap do |logger|
        level = Logger::DEBUG if debug

        logger.progname = "#{self.class.name}<#{progname}>"
        logger.level = level || self.class.log_level || K8s::Logging.log_level || LOG_LEVEL
      end
    end
Use per-instance logger instead of the default per-class logger

 Sets the instance variable returned by #logger

 @return [Logger]