commit | 9691e5d7d664ebe39a19ea039b148c46ebe0d8fe | [log] [tgz] |
---|---|---|
author | Cosmos Nicolaou <cnicolaou@google.com> | Wed Jun 17 12:24:35 2015 -0700 |
committer | Cosmos Nicolaou <cnicolaou@google.com> | Wed Jun 17 12:24:35 2015 -0700 |
tree | a4ebe32da7d09299b010ef284949cce32e59fb23 | |
parent | bc1e0461143574dfd3fe7fcac4a128594428e9ae [diff] |
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
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.