We expose this even though it is the default because a user that wants to override the default log buffer will have to construct this themselves.
| 112 | // We expose this even though it is the default because a user that wants to |
| 113 | // override the default log buffer will have to construct this themselves. |
| 114 | class LogdLogger { |
| 115 | public: |
| 116 | explicit LogdLogger(LogId default_log_id = android_lkchan::base::MAIN); |
| 117 | |
| 118 | void operator()(LogId, LogSeverity, const char* tag, const char* file, |
| 119 | unsigned int line, const char* message); |
| 120 | |
| 121 | private: |
| 122 | LogId default_log_id_; |
| 123 | }; |
| 124 | #endif |
| 125 | |
| 126 | // Configure logging based on ANDROID_LOG_TAGS environment variable. |