Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

13 linhas
471 B

  1. package ghost
  2. import (
  3. "log"
  4. )
  5. // Logging function, defaults to Go's native log.Printf function. The idea to use
  6. // this instead of a *log.Logger struct is that it can be set to any of log.{Printf,Fatalf, Panicf},
  7. // but also to more flexible userland loggers like SeeLog (https://github.com/cihub/seelog).
  8. // It could be set, for example, to SeeLog's Debugf function. Any function with the
  9. // signature func(fmt string, params ...interface{}).
  10. var LogFn = log.Printf