commit | bc49ac7047b24da5672d08dfbf78cd680466b55a | [log] [tgz] |
---|---|---|
author | Ben Chan <benchan@chromium.org> | Tue Apr 10 19:59:45 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Fri Apr 13 10:02:20 2012 -0700 |
tree | 2b322e473fbc1bea35354a4aaea2eb99d7e534fe | |
parent | fd10ec2c76238b87d717f3f26fb12ef65fb94eea [diff] |
shill: Implement debug tag related DBus methods. This CL adds a ScopeLogger class to enable logging based on user-defined scope (instead of file or module) and corresponding helper macros such as SLOG() as a replacement for VLOG(). The debug tag related DBus methods are implemented using the scope logging. BUG=chromium-os:26081 TEST=Build and run unit tests. Change-Id: I8d179f010c7a6bf095953bbc6e2a92561db676dc Reviewed-on: https://gerrit.chromium.org/gerrit/19976 Commit-Ready: Ben Chan <benchan@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org>