接口 LoggerAdapter

    • 方法详细资料

      • getLogger

        Logger getLogger(Class<?> key)
        Get a logger
        参数:
        key - the returned logger will be named after clazz
        返回:
        logger
      • getLogger

        Logger getLogger(String key)
        Get a logger
        参数:
        key - the returned logger will be named after key
        返回:
        logger
      • getLevel

        Level getLevel()
        Get the current logging level
        返回:
        current logging level
      • setLevel

        void setLevel(Level level)
        Set the current logging level
        参数:
        level - logging level
      • getFile

        File getFile()
        Get the current logging file
        返回:
        current logging file
      • setFile

        void setFile(File file)
        Set the current logging file
        参数:
        file - logging file