forked from p93542168/wheat-cache
fix(log) fix produce msg, remove more route
This commit is contained in:
parent
77d4b88c71
commit
e98731c1b3
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue