No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

hace 8 años
123456789101112
  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