Commit History

Autor SHA1 Mensaxe Data
  zwde 78bede6d52 增加每天切割日志文件的功能,程序运行时指定 --dailyRolling=true参数即可 %!s(int64=5) %!d(string=hai) anos
  Michael Berlin 65d674618f Fix problem that -log_dir will not be respected when anything is logged before flag.Parse(). %!s(int64=9) %!d(string=hai) anos
  David Symonds 44145f04b6 log: Add Exit, Exitf etc. %!s(int64=10) %!d(string=hai) anos
  David Symonds c56a6cb113 Pad thread ID in log header to 7 spaces, to match C++ format. %!s(int64=10) %!d(string=hai) anos
  David Symonds c741557f8f log: add *Depth function for log wrapping. %!s(int64=10) %!d(string=hai) anos
  David Symonds b83197c33c Fix log format to space pad PID instead of zero pad. %!s(int64=10) %!d(string=hai) anos
  David Symonds 5066b11157 Fix non-atomic set of logging.filterLength. %!s(int64=11) %!d(string=hai) anos
  David Symonds 49850ea55f Redirect messages written to the standard "log" package to the INFO log, %!s(int64=11) %!d(string=hai) anos
  Rob Pike d1c4472bf2 Add a sentence to the documentation that flag.Parse must be called first. %!s(int64=11) %!d(string=hai) anos
  Rob Pike c6f9652c71 document -log_dir, the one undocumented flag in this package. %!s(int64=11) %!d(string=hai) anos
  Rob Pike 228ba85797 Fix typo, reformat top comment slightly. %!s(int64=11) %!d(string=hai) anos
  Rob Pike f74c4c6b96 Add documentation about flushing and flags. %!s(int64=11) %!d(string=hai) anos
  David Symonds c2ab0c9a9b Use path/filepath instead of path for manipulating OS paths. %!s(int64=11) %!d(string=hai) anos
  David Symonds 47832e5afe Gofmt all source files. %!s(int64=11) %!d(string=hai) anos
  Rob Pike 2b6b498888 Fix the license text in the source files. It was incorrect. Should be all consistent now. %!s(int64=11) %!d(string=hai) anos
  Rob Pike 3e682cc72c Initial commit. %!s(int64=11) %!d(string=hai) anos