mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-18 08:26:38 +02:00
16 lines
218 B
Go
16 lines
218 B
Go
package kubernetes
|
|
|
|
import "github.com/micro/go-micro/debug/log"
|
|
|
|
import (
|
|
"encoding/json"
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func write(l log.Record) {
|
|
if m, err := json.Marshal(l); err == nil {
|
|
fmt.Fprintf(os.Stderr, "%s", m)
|
|
}
|
|
}
|