From 47e17e1dc2506d16e583de2d8cfcc831fd4f3e9e Mon Sep 17 00:00:00 2001 From: Curt D Date: Wed, 31 Jan 2024 15:11:51 -0800 Subject: [PATCH] deps: Set `Dictionaries` `0.3` -> `0.3, 0.4`, `Logging` -> `1` (#3) --- Project.toml | 3 ++- docs/Project.toml | 3 +++ docs/make.jl | 1 + src/hierarchical_logger.jl | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 29b23e6..bbe00c6 100644 --- a/Project.toml +++ b/Project.toml @@ -9,6 +9,7 @@ Logging = "56ddb016-857b-54e1-b83d-db4d58db5568" LoggingCommon = "44db15ec-78df-42c5-8c4e-36d253f36098" [compat] -Dictionaries = "0.3" +Dictionaries = "0.3, 0.4" +Logging = "1" LoggingCommon = "1.0.1" julia = "1.6" \ No newline at end of file diff --git a/docs/Project.toml b/docs/Project.toml index ba3180e..4db9994 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,3 +1,6 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" HierarchicalLogging = "f33c120b-91a0-4a1c-b926-14fa61c08c77" + +[compat] +Documenter = "1" \ No newline at end of file diff --git a/docs/make.jl b/docs/make.jl index 7ee559e..fb66075 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -24,6 +24,7 @@ makedocs(; "Home" => "index.md", "API" => "api.md" ], + warnonly=:missing_docs ) deploydocs(; diff --git a/src/hierarchical_logger.jl b/src/hierarchical_logger.jl index decaa0a..f4fc7a9 100644 --- a/src/hierarchical_logger.jl +++ b/src/hierarchical_logger.jl @@ -220,6 +220,7 @@ Logging.shouldlog(h::HierarchicalLogger, level::Symbol, args...) = shouldlog(h, Logging.catch_exceptions(logger::HierarchicalLogger) = catch_exceptions(logger[ROOT_LOGGER_KEY]) function Logging.handle_message(h::HierarchicalLogger, level, message, _module, args...; kwargs...) + @nospecialize logger = h[_module] handle_message(logger, level, message, _module, args...; kwargs...)