Commit a333da7c authored by Tim Shen's avatar Tim Shen Committed by TensorFlower Gardener
Browse files

Introduce a logger overriding mechanism.

Before: the whole program has to link against a unique
Logger::Singleton(), and there is no default. It's hard to control when
to use the custom logger vs the default.

After: By default always use the default logger. The pubsub logger
overrides via REGISTER_MODULE_INITIALIZER. Multiple implementations can
co-exist.

This simplifies the registration management and dependency management.

PiperOrigin-RevId: 225863909
parent 33cbbf4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment