commit | 302fce751e52effe9e4a64faf7dc74f71373e263 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Fri Mar 27 11:20:14 2015 -0700 |
committer | Dan Albert <danalbert@google.com> | Fri Apr 03 16:22:39 2015 -0700 |
tree | 1e9490de3134c6383da548f15186ae9f13ea5b1b | |
parent | a59f79d07f01db7e4410dc6938c810f1d99e79ac [diff] |
Support arbitrary loggers. While the defaults (logd or stderr) make sense for most use cases, there are places that can only log to the kernel, or need to log to a file, etc. Allow the user to pass in an arbitrary logging object, and provide LogdLogger and StderrLogger as defaults. Change-Id: I62368acc795ff313242bb205d65017404bf64e88