Skip to content

solomonooo/glog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

214 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a C++ implementation of the Google logging
module.  Documentation for the implementation is in doc/.

See INSTALL for (generic) installation instructions for C++: basically
   ./configure && make && make install

   -----------------------------------
    ###this version contains some new features:
    ####1. log format
    [log level] [YYYY-MM-DD hh:mm:ss] [pid] [filename:line number]> [custom msg]
    for example :
    INFO 2016-07-15 14:33:16.774652   17487 notify.go:54> service started

    ####2. file name format
    [module name].log.[log level].[YYYYMMDD, depends log split type]
    for example :
    notify.log.INFO.2016071514

    ####3. log split
    split log file by time, not pid. use logsplittype and logsplitvalue to change log split rule.
    logsplittype means the type of log split. 0, not split; 1, split by min; 2, split by hour(default); 3, split by day.
    logsplitvalue means the value of log split, depends flag logsplittype.(default : 1)
    for example :
    logsplittype = 2, logsplitvalue = 2, then split the log file per 2 hours.

About

C++ implementation of the Google logging module

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 43.6%
  • Shell 35.8%
  • Makefile 12.5%
  • M4 3.3%
  • CMake 2.4%
  • C 2.4%