fix(log) fix produce msg, remove more route

This commit is contained in:
黎白南 2021-10-08 21:19:04 +08:00
parent 77d4b88c71
commit e98731c1b3
1 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,12 @@ import (
"time" "time"
) )
var (
floor = 3
)
func With(ctx context.Context, p event.ProduceInterface) *upLogger { func With(ctx context.Context, p event.ProduceInterface) *upLogger {
floor = 4
return &upLogger{ return &upLogger{
ctx: ctx, ctx: ctx,
produce: p, produce: p,
@ -85,7 +90,7 @@ func findPlace() string {
var ( var (
place string place string
i = 3 i = floor
) )
for { for {