# zzlog **Repository Path**: douyaye/zzlog ## Basic Information - **Project Name**: zzlog - **Description**: 一个很简单的日志框架,按天分割日志, 支持error和info 2种简单模式,日志同时输出文件和os.Stdout - **Primary Language**: Go - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-11 - **Last Updated**: 2025-11-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # zzlog #### 介绍 一个很简单的日志框架,按天分割日志, 支持error,info,debug 3种简单模式 日志同时输出文件和os.Stdout #### 软件架构 软件架构说明 #### 安装教程 ``` go get gitee.com/douyaye/zzlog ``` #### 使用说明 直接使用即可,默认日志级别为debug 参考 example/main.go ``` zzlog.SetIsStdout(true) // SetLogLevel 设置日志级别 // Debug:0 // Info:1 // Error:2 // OFF:3 // 默认值为 Debug:0 zzlog.SetLogLevel(2) ```