-new branch for logging enhancements

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8634 ddefafc4-47db-0310-ae44-fa13212b10f2
Small beautification and typo fix in Log.cxx.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8635 ddefafc4-47db-0310-ae44-fa13212b10f2
This looks like a bug.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8636 ddefafc4-47db-0310-ae44-fa13212b10f2
Move all thread-specific logger settings into a separate class.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8637 ddefafc4-47db-0310-ae44-fa13212b10f2
More moves. Merged GenericLogImpl class back into Log class.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8638 ddefafc4-47db-0310-ae44-fa13212b10f2
Move Instance() and reset() to Log::ThreadData class.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8639 ddefafc4-47db-0310-ae44-fa13212b10f2
Naive implementation of TLS functions.
TLS destructors are not supported under Windows yet.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8640 ddefafc4-47db-0310-ae44-fa13212b10f2
Implement TLS destructors under Windows.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8641 ddefafc4-47db-0310-ae44-fa13212b10f2
Change Log class to use new portable TLS constructions.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8642 ddefafc4-47db-0310-ae44-fa13212b10f2
Few more rearrangements.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8643 ddefafc4-47db-0310-ae44-fa13212b10f2
No reason for this #ifdef really.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8644 ddefafc4-47db-0310-ae44-fa13212b10f2
Make Log::ThreadData::mLogger protected.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8645 ddefafc4-47db-0310-ae44-fa13212b10f2
Thread local loggers implemented. Need to test them, though.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8646 ddefafc4-47db-0310-ae44-fa13212b10f2
Mark genericLogCheckLevel() as static inline and add some comment.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8647 ddefafc4-47db-0310-ae44-fa13212b10f2
Rename variable.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8648 ddefafc4-47db-0310-ae44-fa13212b10f2
Now really make use of thread local loggers. I.e. automagically use it if installed.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8649 ddefafc4-47db-0310-ae44-fa13212b10f2
Added initializer for static ThreadIf::mTlsDestructors[] variable.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8650 ddefafc4-47db-0310-ae44-fa13212b10f2
rutil depends on winmm.lib under Windows.


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8651 ddefafc4-47db-0310-ae44-fa13212b10f2
Return correct value from Log::setThreadLocalLogger().


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8652 ddefafc4-47db-0310-ae44-fa13212b10f2
Now return really correct value from Log::setThreadLocalLogger().


git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-loggingenh-20091028@8653 ddefafc4-47db-0310-ae44-fa13212b10f2