commit | 1f65c4966a05fa975f4956ac8e0a61203ab9d931 | [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 | 1bbd54b9bb40dda98637ae1fb1d1fff545e271f1 | |
parent | ab5c8825043517e11132bc344c1bb467296f0ca7 [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