MCPcopy Create free account
hub / github.com/3rdparty/libprocess / Logging

Method Logging

include/process/logging.hpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26{
27public:
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected