tailscale/types/logger
Brad Fitzpatrick 84138450a4 types/logger, logtail: add mechanism to do structured JSON logs
e.g. the change to ipnlocal in this commit ultimately logs out:

{"logtail":{"client_time":"2022-02-17T20:40:30.511381153-08:00","server_time":"2022-02-18T04:40:31.057771504Z"},"type":"Hostinfo","val":{"GoArch":"amd64","Hostname":"tsdev","IPNVersion":"1.21.0-date.20220107","OS":"linux","OSVersion":"Debian 11.2 (bullseye); kernel=5.10.0-10-amd64"},"v":1}

Change-Id: I668646b19aeae4a2fed05170d7b279456829c844
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-02-18 12:42:06 -08:00
..
logger_test.go types/logger, logtail: add mechanism to do structured JSON logs 2022-02-18 12:42:06 -08:00
logger.go types/logger, logtail: add mechanism to do structured JSON logs 2022-02-18 12:42:06 -08:00
rusage_stub.go all: fix some js/wasm compilation issues 2021-10-20 10:06:16 -07:00
rusage_syscall.go all: fix some js/wasm compilation issues 2021-10-20 10:06:16 -07:00
rusage.go types/logger: move RusagePrefixLog to logger package, disable by default 2020-10-19 07:56:23 -07:00
tokenbucket.go types/logger: rate limited: more hysteresis, better messages. 2021-04-30 01:01:15 -04:00