Историја ревизија

Аутор SHA1 Порука Датум
  zwde 96c02a20b1 . пре 5 година
  zwde 78bede6d52 增加每天切割日志文件的功能,程序运行时指定 --dailyRolling=true参数即可 пре 5 година
  Michael Stapelberg 23def4e6c1 README: change code.google.com link to GitHub пре 9 година
  Rob Pike fca8c88540 Merge pull request #13 from michael-berlin/fix_log_before_flag_parse пре 9 година
  Michael Berlin 65d674618f Fix problem that -log_dir will not be respected when anything is logged before flag.Parse(). пре 9 година
  David Symonds 44145f04b6 log: Add Exit, Exitf etc. пре 10 година
  David Symonds c56a6cb113 Pad thread ID in log header to 7 spaces, to match C++ format. пре 10 година
  David Symonds c741557f8f log: add *Depth function for log wrapping. пре 10 година
  David Symonds b83197c33c Fix log format to space pad PID instead of zero pad. пре 10 година
  David Symonds 5066b11157 Fix non-atomic set of logging.filterLength. пре 11 година
  David Symonds 49850ea55f Redirect messages written to the standard "log" package to the INFO log, пре 11 година
  Rob Pike d1c4472bf2 Add a sentence to the documentation that flag.Parse must be called first. пре 11 година
  David Symonds 20cea4dfef Create a relative symlink for log files. пре 11 година
  Rob Pike c6f9652c71 document -log_dir, the one undocumented flag in this package. пре 11 година
  Rob Pike 228ba85797 Fix typo, reformat top comment slightly. пре 11 година
  Rob Pike f74c4c6b96 Add documentation about flushing and flags. пре 11 година
  David Symonds ab6a54c30d Sanitize username used for constructing log filenames. пре 11 година
  David Symonds c2ab0c9a9b Use path/filepath instead of path for manipulating OS paths. пре 11 година
  David Symonds 47832e5afe Gofmt all source files. пре 11 година
  David Symonds 029e58eb9e Use os.TempDir to pick default location for log files. пре 11 година
  Rob Pike 496d3b747b Use filepath.IsAbs to see if temp directory is local. Fixes a problem on Windows, since the old code assumed a rooted path starts with /. пре 11 година
  Rob Pike 2b6b498888 Fix the license text in the source files. It was incorrect. Should be all consistent now. пре 11 година
  Rob Pike 3e682cc72c Initial commit. пре 11 година
  Rob Pike 2d42ba6cf5 Initial commit пре 11 година