8 Commits

Author SHA1 Message Date
cd85501561 Major refactor to better support multi-threading.
See README for details.
2025-01-04 21:27:37 -06:00
ab20a30434 Swallow impossible exception. 0.3.2 2023-02-25 14:45:05 -07:00
f3dbac0896 Fix default prefix format. 0.3.1 2022-11-03 15:14:43 -05:00
c0f818ef30 setLevelForNamespace now instantiates the namespace if necessary
- Hide initLoggingNamespace. getLoggerForNamespace should be used
  instead.
- setLevelForNamespace now calls getLoggerForNamespace to ensure the
  namespace exists when a caller tries to set the logging level.
  Previously it was possible to call setLevelForNamespace before the
  namespace was initialized, meaning that the setting had no effect.
  This is especially problematic for cases where a library is using
  namespaced logging with the filter set to a high level by default.
  The code using that library may want to enable debug logs, and is
  likely to call setLevelForNamespace in initialization code that runs
  prior to the library code which instantiates the namespace.
0.3.0
2022-11-03 15:03:48 -05:00
8245cfbdf7 Use a table for thread-global cache, hierarchical logging namespaces. 0.2.0 2022-06-04 21:48:25 -05:00
79c3701f26 Add thread-global cache of namespaces, change default formatting. 0.1.0 2022-01-13 17:29:56 -06:00
5f21b2f263 Initial implementation. 2022-01-13 14:12:10 -06:00
3222260baa Initial commit following nimble init. 2022-01-13 13:22:13 -06:00