mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-06 19:06:42 +01:00
Add Transakcio block&batch txs generationfrom code
This commit is contained in:
21
log/log.go
21
log/log.go
@@ -80,11 +80,16 @@ func Warn(args ...interface{}) {
|
||||
log.Warn(args...)
|
||||
}
|
||||
|
||||
// Error calls log.Error and stores the error message into the ErrorFile
|
||||
// Error calls log.Error
|
||||
func Error(args ...interface{}) {
|
||||
log.Error(args...)
|
||||
}
|
||||
|
||||
// Fatal calls log.Fatal
|
||||
func Fatal(args ...interface{}) {
|
||||
log.Fatal(args...)
|
||||
}
|
||||
|
||||
// Debugf calls log.Debugf
|
||||
func Debugf(template string, args ...interface{}) {
|
||||
log.Debugf(template, args...)
|
||||
@@ -100,6 +105,11 @@ func Warnf(template string, args ...interface{}) {
|
||||
log.Warnf(template, args...)
|
||||
}
|
||||
|
||||
// Fatalf calls log.Warnf
|
||||
func Fatalf(template string, args ...interface{}) {
|
||||
log.Fatalf(template, args...)
|
||||
}
|
||||
|
||||
// Errorf calls log.Errorf and stores the error message into the ErrorFile
|
||||
func Errorf(template string, args ...interface{}) {
|
||||
log.Errorf(template, args...)
|
||||
@@ -120,7 +130,12 @@ func Warnw(template string, kv ...interface{}) {
|
||||
log.Warnw(template, kv...)
|
||||
}
|
||||
|
||||
// Errorw calls log.Errorw and stores the error message into the ErrorFile
|
||||
// Errorw calls log.Errorw
|
||||
func Errorw(template string, kv ...interface{}) {
|
||||
log.Errorw(template, kv...)
|
||||
log.Fatalw(template, kv...)
|
||||
}
|
||||
|
||||
// Fatalw calls log.Fatalw
|
||||
func Fatalw(template string, kv ...interface{}) {
|
||||
log.Fatalw(template, kv...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user