common.go 439 B

12345678910111213141516171819202122232425
  1. package log
  2. func Info(args ...interface{}) {
  3. _logger.Info(args)
  4. }
  5. func Warn(args ...interface{}) {
  6. _logger.Warn(args)
  7. }
  8. func Debug(args ...interface{}) {
  9. _logger.Debug(args)
  10. }
  11. func Infof(template string, args ...interface{}) {
  12. _logger.Infof(template, args)
  13. }
  14. func Warnf(template string, args ...interface{}) {
  15. _logger.Warnf(template, args)
  16. }
  17. func Debugf(template string, args ...interface{}) {
  18. _logger.Debugf(template, args)
  19. }