@@ -183,11 +183,16 @@ using Logging
183183struct ExampleSizeThresholdFilter <: AbstractLogger
184184 inner:: AbstractLogger
185185end
186- Logging. min_enabled_level (l:: ExampleSizeThresholdFilter ) = Logging. min_enabled_level (l. inner)
187- Logging. shouldlog (l:: ExampleSizeThresholdFilter , level, _module, group, id) =
186+ function Logging. min_enabled_level (l:: ExampleSizeThresholdFilter )
187+ Logging. min_enabled_level (l. inner)
188+ end
189+ function Logging. shouldlog (l:: ExampleSizeThresholdFilter , level, _module, group, id)
188190 Logging. shouldlog (l. inner, level, _module, group, id)
191+ end
189192Logging. catch_exceptions (l:: ExampleSizeThresholdFilter ) = Logging. catch_exceptions (l. inner)
190- function Logging. handle_message (l:: ExampleSizeThresholdFilter , level, message, args... ; kwargs... )
193+ function Logging. handle_message (
194+ l:: ExampleSizeThresholdFilter , level, message, args... ; kwargs...
195+ )
191196 msg = string (message)
192197 if level == Logging. Warn && occursin (" example_size_threshold" , msg)
193198 return nothing
@@ -221,7 +226,7 @@ with_api_reference(src_dir, ext_dir) do api_pages
221226 " assets/custom.css" ,
222227 ],
223228 size_threshold_ignore= [
224- joinpath (" api" , " private.md" ),
229+ joinpath (" api" , " private.md" ),
225230 joinpath (" api" , " public.md" ),
226231 " manual-macro-free.md" ,
227232 ],
0 commit comments