# Gflags.And.Glog.Tutorial **Repository Path**: hexu1985/Gflags.And.Glog.Tutorial ## Basic Information - **Project Name**: Gflags.And.Glog.Tutorial - **Description**: No description available - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-09 - **Last Updated**: 2026-07-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Gflags & Glog Tutorial ## Table of contents ### [Chapter1: 环境配置](chapter-01/README.md) - [1. gflags编译安装](chapter-01/recipe-01/README.md) - [2. glog编译安装](chapter-01/recipe-02/README.md) - [3. 项目依赖gflags库:Makefile](chapter-01/recipe-03/README.md) - [4. 项目依赖gflags库:CMake,通过find_package](chapter-01/recipe-04/README.md) - [5. 项目依赖glog库:Makefile](chapter-01/recipe-05/README.md) - [6. 项目依赖glog库:CMake,通过find_package](chapter-01/recipe-06/README.md) ### [Chapter2: gflags使用说明](chapter-02/README.md) - [1. gflags使用简介](chapter-02/recipe-01/README.md) - [2. 特殊的选项(Special Flags)](chapter-02/recipe-02/README.md) - [3. DECLARE:使用其他文件中定义的flag变量](chapter-02/recipe-03/README.md) - [4. 检验输入参数是否合法](chapter-02/recipe-04/README.md) - [5. 定制你自己的help信息与version信息](chapter-02/recipe-05/README.md) - [6. 判断flag变量是否被用户使用](chapter-02/recipe-06/README.md) - [7. 允许未定义的输入参数](chapter-02/recipe-07/README.md) - [8. 通过配置文件传递参数](chapter-02/recipe-08/README.md) - [9. 通过环境变量传递参数](chapter-02/recipe-09/README.md) ### [Chapter3: glog使用说明](chapter-03/README.md) - [1. glog使用简介](chapter-03/recipe-01/README.md) - [2. 日志类型](chapter-03/recipe-02/README.md) - [3. 日志参数设置(flag变量)](chapter-03/recipe-03/README.md) - [4. 条件输出](chapter-03/recipe-04/README.md) - [5. 调试(DEBUG)模式日志](chapter-03/recipe-05/README.md) - [6. 细节(VERBOSE)日志](chapter-03/recipe-06/README.md) - [7. 状态检查](chapter-03/recipe-07/README.md) - [8. 异常信号处理](chapter-03/recipe-08/README.md) - [9. 自定义失败处理函数](chapter-03/recipe-09/README.md) - [10. 精简日志字符串信息](chapter-03/recipe-10/README.md) - [11. 自动删除旧日志文件](chapter-03/recipe-11/README.md) ### 参考文档