You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package rex
  2. import "github.com/Sirupsen/logrus"
  3. func Info(message string) {
  4. logrus.Info(message)
  5. }
  6. func Infof(format string, args ...interface{}) {
  7. logrus.Infof(format, args...)
  8. }
  9. func Debug(message string) {
  10. logrus.Debug(message)
  11. }
  12. func Debugf(format string, args ...interface{}) {
  13. logrus.Debugf(format, args...)
  14. }
  15. func Warn(message string) {
  16. logrus.Warn(message)
  17. }
  18. func Warnf(format string, args ...interface{}) {
  19. logrus.Warnf(format, args...)
  20. }
  21. func Error(message string) {
  22. logrus.Error(message)
  23. }
  24. func Errorf(format string, args ...interface{}) {
  25. logrus.Errorf(format, args...)
  26. }
  27. func Fatal(message string) {
  28. logrus.Fatal(message)
  29. }
  30. func Fatalf(format string, args ...interface{}) {
  31. logrus.Fatalf(format, args...)
  32. }
  33. func Panic(message string) {
  34. logrus.Panic(message)
  35. }
  36. func Panicf(format string, args ...interface{}) {
  37. logrus.Panicf(format, args...)
  38. }