# bgArrayLogger **Repository Path**: bg-array-organization/bg-array-logger ## Basic Information - **Project Name**: bgArrayLogger - **Description**: Python自带的logging库的调用模块。 可以输出到屏幕也可以保存log。 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 3 - **Created**: 2022-03-02 - **Last Updated**: 2022-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: Python, logging ## README # bgArrayLogger [![Licence: Apache (shields.io)](https://img.shields.io/badge/Licence-Apache-blueviolet)](https://choosealicense.com/licenses/apache-2.0/) [![Bilibili: 诸葛亮与八卦阵 (shields.io)](https://img.shields.io/badge/Bilibili-%E8%AF%B8%E8%91%9B%E4%BA%AE%E4%B8%8E%E5%85%AB%E5%8D%A6%E9%98%B5-blueviolet)](https://space.bilibili.com/604072474) #### 介绍 Python自带的logging库的调用模块。 可以输出到屏幕也可以保存log。 #### 软件架构 ////////////// #### 安装教程 1. clone下去 2. import 就行了 3. 推荐放到site-packages里,例如我这里是: `C:\Users\xx\AppData\Roaming\Python\Python39\site-packages\logger` #### 使用说明 详细参考example.py `from logger import logger ` `logger.info("this is an information") ` `logger.debug("Debugging") ` `logger.error("Error!!!") ` `logger.warning("oh! warning!")` 因为这个库就是对Python自带的logging库进行了设置,所以想了解更多的内容,请自己看logging的用法。 #### 目前使用或参考这个库的项目 1. Musicreater 2. Minecraft Video Player(虽然没有实装) 3. Python MusescoreXML Processor(虽然没有实装)