1. 15 Oct, 2010 1 commit
  2. 14 Oct, 2010 1 commit
  3. 13 Oct, 2010 2 commits
  4. 12 Oct, 2010 1 commit
    • Rob Pike's avatar
      log: new interface · 12da5a90
      Rob Pike authored
      New logging interface simplifies and generalizes.
      
      1) Loggers now have only one output.
      2) log.Stdout, Stderr, Crash and friends are gone.
      	Logging is now always to standard error by default.
      3) log.Panic* replaces log.Crash*.
      4) Exiting and panicking are not part of the logger's state; instead
      	the functions Exit* and Panic* simply call Exit or panic after
      	printing.
      5) There is now one 'standard logger'.  Instead of calling Stderr,
      	use Print etc.  There are now triples, by analogy with fmt:
      		Print, Println, Printf
      	What was log.Stderr is now best represented by log.Println,
      	since there are now separate Print and Println functions
      	(and methods).
      6) New functions SetOutput, SetFlags, and SetPrefix allow global
      	editing of the standard logger's properties.   This is new
      	functionality. For instance, one can call
      		log.SetFlags(log.Lshortfile|log.Ltime|log.Lmicroseconds)
      	to get all logging output to show file name, line number, and
      	time stamp.
      
      In short, for most purposes
      	log.Stder...
      12da5a90
  5. 24 Sep, 2010 1 commit
  6. 12 Sep, 2010 1 commit
  7. 11 Sep, 2010 1 commit
  8. 16 Mar, 2010 1 commit
  9. 01 Feb, 2010 1 commit
  10. 15 Dec, 2009 1 commit
    • Robert Griesemer's avatar
      1) Change default gofmt default settings for · a3d1045f
      Robert Griesemer authored
         parsing and printing to new syntax.
      
         Use -oldparser to parse the old syntax,
         use -oldprinter to print the old syntax.
      
      2) Change default gofmt formatting settings
         to use tabs for indentation only and to use
         spaces for alignment. This will make the code
         alignment insensitive to an editor's tabwidth.
      
         Use -spaces=false to use tabs for alignment.
      
      3) Manually changed src/exp/parser/parser_test.go
         so that it doesn't try to parse the parser's
         source files using the old syntax (they have
         new syntax now).
      
      4) gofmt -w src misc test/bench
      
      3rd set of files.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/180048
      a3d1045f
  11. 11 Dec, 2009 1 commit
  12. 20 Nov, 2009 1 commit
  13. 10 Nov, 2009 1 commit
  14. 09 Nov, 2009 1 commit
  15. 07 Nov, 2009 1 commit
  16. 06 Nov, 2009 1 commit
  17. 09 Oct, 2009 1 commit
  18. 08 Oct, 2009 1 commit
  19. 07 Oct, 2009 1 commit
  20. 15 Sep, 2009 1 commit
    • Russ Cox's avatar
      more "declared and not used". · ca6a0fee
      Russ Cox authored
      the last round omitted := range and only
      checked 1 out of N vars in a multi-var :=
      
      R=r
      OCL=34624
      CL=34638
      ca6a0fee
  21. 13 Aug, 2009 1 commit
    • Kai Backman's avatar
      fix typo · 8149a8c6
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=33209
      CL=33227
      8149a8c6
  22. 09 Jun, 2009 1 commit
    • Rob Pike's avatar
      mv src/lib to src/pkg · d90e7cba
      Rob Pike authored
      tests: all.bash passes, gobuild still works, godoc still works.
      
      R=rsc
      OCL=30096
      CL=30102
      d90e7cba
  23. 16 May, 2009 1 commit
    • Rob Pike's avatar
      s/NewLogger/New/ · c54699c9
      Rob Pike authored
      R=rsc
      DELTA=7  (0 added, 0 deleted, 7 changed)
      OCL=28947
      CL=28950
      c54699c9
  24. 08 May, 2009 2 commits
  25. 06 May, 2009 1 commit
  26. 31 Mar, 2009 1 commit
  27. 05 Mar, 2009 1 commit
    • Rob Pike's avatar
      log: document · 26cb4df7
      Rob Pike authored
      R=rsc
      DELTA=26  (17 added, 1 deleted, 8 changed)
      OCL=25731
      CL=25734
      26cb4df7
  28. 03 Mar, 2009 1 commit
  29. 13 Feb, 2009 1 commit
  30. 26 Jan, 2009 2 commits