pavedroad-io/pavedroad

Add kakfa logger to core functions

Opened this issue · 0 comments

[] create core directory structure
[] create log subdirectory
[] create client / consumer directories
[] need high-level design document
[] client should insert standard elements like timestamps
[] client should set our defaults

Basically follow normal go conventions, use http.client as example
klog := NewLogger(nil) // use default client

kclient := LoggerClient{Broker: "", .......} // use custom client
klog := NewLogger(kclient)

klog.Println("message")

Same thoughts around the consumer