| 26 | { |
| 27 | public: |
| 28 | Logging(Option<std::string> _authenticationRealm) |
| 29 | : ProcessBase("logging"), |
| 30 | original(FLAGS_v), |
| 31 | authenticationRealm(_authenticationRealm) |
| 32 | { |
| 33 | // Make sure all reads/writes can be done atomically (i.e., to |
| 34 | // make sure VLOG(*) statements don't read partial writes). |
| 35 | // TODO(benh): Use "atomics" primitives for doing reads/writes of |
| 36 | // FLAGS_v anyway to account for proper memory barriers. |
| 37 | CHECK(sizeof(FLAGS_v) == sizeof(int32_t)); |
| 38 | } |
| 39 | |
| 40 | ~Logging() override {} |
| 41 |
nothing calls this directly
no outgoing calls
no test coverage detected