All. I am creating some libraries for other teams in my company. They all have different logging mechanisms. I want to provide trace information of what my libraries are doing. What should I to achieve this? Thanks
Use the built in
Trace mechanism and document the fact.
This way, all they need to do is configure tracing and they can log.
LibLog lets your library dynamically attach to whatever logging framework is in use, without any additional dependencies.
It's often nicer than
Trace etc. for a user, as they don't need to set anything additional up: if they're using a particular logging library, LibLog will detect it and everything will "just work".