GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CPythoner/MessLogger: A thread-safe、 light-weight、simple logger library.

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
messlogger
messlogger
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
messlogger.sln
messlogger.sln
 
 

Repository files navigation

MessLogger是一个线程安全、使用简单的 C++ 日志库,使用 c 方法和 Windows API 实现。特性:

  • 线程安全;
  • 日志路径支持绝对路径和相对路径;
  • 日志路径支持 %date 占位符,可用日期命名;
  • 八个日志级别:LEVEL_ALL、LEVEL_TRACE、LEVEL_DEBUG、LEVEL_INFO、LEVEL_WARN、LEVEL_ERROR、LEVEL_FATAL、LEVEL_OFF
  • 线程 ID 打印可配置。

使用方法见 main.cpp。

日志样例:

[2019.05.05 21:47:14.250] [DEBUG] [Tid:00298C] 2 HELLOLKJLKSDFJLAKSJDFLKASJFLKJASDKLFJKL  JASKLJDFKLASJDKF   Dsafad的地方 (main.cpp log_std_thread 67)
[2019.05.05 21:47:14.250] [TRACE] [Tid:00298C] 2 HELLOLKJLKSDFJLAKSJDFLKASJFLKJASDKLFJKL  JASKLJDFKLASJDKF   Dsafad的地方 (main.cpp log_std_thread 68)
[2019.05.05 21:47:14.250] [ INFO] [Tid:00298C] 2 HELLOLKJLKSDFJLAKSJDFLKASJFLKJASDKLFJKL  JASKLJDFKLASJDKF   Dsafad的地方 (main.cpp log_std_thread 69)
[2019.05.05 21:47:14.250] [ WARN] [Tid:00298C] 2 HELLOLKJLKSDFJLAKSJDFLKASJFLKJASDKLFJKL  JASKLJDFKLASJDKF   Dsafad的地方 (main.cpp log_std_thread 70)
[2019.05.05 21:47:14.250] [ERROR] [Tid:00298C] 2 HELLOLKJLKSDFJLAKSJDFLKASJFLKJASDKLFJKL  JASKLJDFKLASJDKF   Dsafad的地方 (main.cpp log_std_thread 71)
[2019.05.05 21:47:14.250] [FATAL] [Tid:00298C] 2 HELLOLKJLKSDFJLAKSJDFLKASJFLKJASDKLFJKL  JASKLJDFKLASJDKF   Dsafad的地方 (main.cpp log_std_thread 72)

About

A thread-safe、 light-weight、simple logger library.

github.com/CPythoner/MessLogger

Resources

Readme
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.