package applogger import ( "go.uber.org/zap/zapcore" "testing" ) func TestDebug(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Debug(tt.args.template, tt.args.args...) }) } } func TestError(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Error(tt.args.template, tt.args.args...) }) } } func TestFatal(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Fatal(tt.args.template, tt.args.args...) }) } } func TestInfo(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Info(tt.args.template, tt.args.args...) }) } } func TestPanic(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Panic(tt.args.template, tt.args.args...) }) } } func TestSetLevel(t *testing.T) { type args struct { level zapcore.Level } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { SetLevel(tt.args.level) }) } } func TestWarn(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Warn(tt.args.template, tt.args.args...) }) } } func TestDebug1(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Debug(tt.args.template, tt.args.args...) }) } } func TestError1(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Error(tt.args.template, tt.args.args...) }) } } func TestFatal1(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Fatal(tt.args.template, tt.args.args...) }) } } func TestInfo1(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Info(tt.args.template, tt.args.args...) }) } } func TestPanic1(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Panic(tt.args.template, tt.args.args...) }) } } func TestSetLevel1(t *testing.T) { type args struct { level zapcore.Level } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { SetLevel(tt.args.level) }) } } func TestWarn1(t *testing.T) { type args struct { template string args []interface{} } tests := []struct { name string args args }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { Warn(tt.args.template, tt.args.args...) }) } }