neo-go/cli/server
Anna Shaleva 2736d62d47 cli: ensure opened sinks are properly closed
zap never closes open sinks except its own tests. This behaviour
prevents TestHandleLoggingParams from successful cleanup because
temp log output file can't be closed due to the following error:
```
TempDir RemoveAll cleanup: remove C:\\Users\\Anna\\AppData\\Local\\Temp\\TestHandleLoggingParams_debug5796883
33\\001\\file.log: The process cannot access the file because it is being used by another process.
```

So this tremendous cludge is made mosetly for our testing code.
It is not for concurrent usage (we don't have cases of
multithreaded access to logger output sink).
2022-02-10 10:33:34 +03:00
..
dump.go rpc/storage: add storage changes to invoke* diagnostics 2022-01-19 00:02:19 +03:00
dump_test.go *: fix tests failing due to path.Join usage 2021-11-29 11:11:09 +03:00
server.go cli: ensure opened sinks are properly closed 2022-02-10 10:33:34 +03:00
server_test.go cli: ensure opened sinks are properly closed 2022-02-10 10:33:34 +03:00