lib/apilog: use ctx based logging and sundry bug fixes.

- context.T now wraps rather than embeds logging.Logger
  to avoid an annoying go'ism, namely if a struct
  with an embedded struct/interface is converted to
  an interface then a 'autogenerated' call frame is
  inserted in order to create the interface instance. This
  messes up the 'InfoDepth' usage.
- logger.Manager needs to test for context.T and extract its
  underlying implementation in order to work correctly.
  This was the root cause of the bug fixed by: v.io/c/12543
- expand the unit tests to hopefully catch any regressions.

MultiPart: 1/2

Change-Id: I76b1723d31d394be481b4c2947838a1a5096df73
7 files changed
tree: a4ebe32da7d09299b010ef284949cce32e59fb23
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTORS
  11. envvar.go
  12. envvar_test.go
  13. LICENSE
  14. PATENTS
  15. README.md
  16. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.