moby--moby/daemon/logger/journald
Silvan Jegen d359daaa48 Clean up journald logger
We clean up the journald logger with these four changes.

1. Make field array static
2. Make function name more appropriate
3. Initialize the file descriptors only once
4. Avoid copying the journald cursor

Point 4 is the most significant change: instead of treating the journald
cursor like a Go string we use it as a raw C.char pointer. That way we
avoid the copying by the C.CString and C.GoString functions.

Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
2016-11-08 19:09:59 +01:00
..
journald.go
journald_test.go
journald_unsupported.go
read.go Clean up journald logger 2016-11-08 19:09:59 +01:00
read_native.go
read_native_compat.go
read_unsupported.go