mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Add support for json formatted logs (#1245)
This commit is contained in:
committed by
Reed Allman
parent
3920e15769
commit
4d30b9de09
@@ -19,6 +19,7 @@ import (
|
||||
|
||||
func testServer(ds models.Datastore, mq models.MessageQueue, logDB models.LogStore, rnr agent.Agent, nodeType NodeType, opts ...Option) *Server {
|
||||
return New(context.Background(), append(opts,
|
||||
WithLogFormat("text"),
|
||||
WithLogLevel("debug"),
|
||||
WithDatastore(ds),
|
||||
WithMQ(mq),
|
||||
|
||||
Reference in New Issue
Block a user