diff options
author | Peter Fox <[email protected]> | 2021-09-07 23:55:54 +0100 |
---|---|---|
committer | Peter Fox <[email protected]> | 2021-09-07 23:55:54 +0100 |
commit | 5f425fab3dc707eae589c670e9780770cc5a8a95 (patch) | |
tree | d96b905e0a2eb27e2b9ed5060defcc35ce135e19 /tests/plugins/logger/plugin.go | |
parent | 1eb0f2e6e1d24d5101082e22570a205a79c43205 (diff) |
Adds a test for marshalling
Diffstat (limited to 'tests/plugins/logger/plugin.go')
-rw-r--r-- | tests/plugins/logger/plugin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/logger/plugin.go b/tests/plugins/logger/plugin.go index e2227ec9..54e78d7b 100644 --- a/tests/plugins/logger/plugin.go +++ b/tests/plugins/logger/plugin.go @@ -43,7 +43,7 @@ func (p1 *Plugin) Serve() chan error { p1.log.Debug("error", field) p1.log.Warn("error", field) - marshalledObject := Loggable{} + marshalledObject := &Loggable{} p1.log.Error("error", marshalledObject) p1.log.Info("error", marshalledObject) |