accesslog
accesslog copied to clipboard
access logger for golang
Replacing `jsonpb` into `protojson` is needed because `jsonpb` has been deprecated. Additionally, protojson allows us to use marshalOptions to use `snake_case` keys for marshalling. Only `camelCase` is supported currently in...
I wish to know perfomance or memory allocation information when using this library.
* we cannot change http, grpc default field name. * How about adding `LogFieldName` for customizing log field name? ```golang // http_option.go var DefaultHttpLogFieldName = &HttpLogFieldName{ Protocol: "protocol", Path: "path",...
* https://github.com/daangn/accesslog/pull/5#issuecomment-993222086 * We can do too many actions with zerolog.Event, ex e.Send(). * Need to limit actions