commit | b547c85b5b9d7fc565e47a5d0c734c3a66af242a | [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 | ea975880112c27293800ede36e0323ff2a7b9322 [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