File tree Expand file tree Collapse file tree 4 files changed +6
-27
lines changed Expand file tree Collapse file tree 4 files changed +6
-27
lines changed Original file line number Diff line number Diff line change 11The LoggingExtras.jl package is licensed under the MIT "Expat" License:
22
3- > Copyright (c) 2018: Lyndon White < oxinabox@ucc.asn.au >
3+ > Copyright (c) 2022: Frames White < oxinabox@ucc.asn.au > and Collaborators
4+ > https://github.com/JuliaLogging/LoggingExtras.jl/graphs/contributors
45>
56> Permission is hereby granted, free of charge, to any person obtaining a copy
67> of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 11name = " LoggingExtras"
22uuid = " e6f89c97-d47a-5376-807f-9c37f3926c36"
3- authors = [" Lyndon White <oxinabox@ucc.asn.au>" ]
4- version = " 0.4.9 "
3+ authors = [" Frames White <oxinabox@ucc.asn.au> " , " Collaborators <https://github.com/JuliaLogging/LoggingExtras.jl/graphs/contributors >" ]
4+ version = " 1.0.0 "
55
66[deps ]
77Dates = " ade2ca70-3891-5945-98fb-dc099432e06a"
Original file line number Diff line number Diff line change 1-
2- Base. @deprecate (
3- DemuxLogger (loggers:: Vararg{AbstractLogger} ; include_current_global= true ),
4- include_current_global ? TeeLogger (global_logger (), loggers... ) : TeeLogger (loggers... )
5- )
1+ # There are currently no deprecations.
Original file line number Diff line number Diff line change 293293end
294294
295295@testset " Deprecations" begin
296- testlogger = TestLogger (min_level= BelowMinLevel)
297-
298- @test_logs (:warn , r" deprecated" ) match_mode= :any begin
299- demux_logger = DemuxLogger (testlogger)
300- @test demux_logger isa TeeLogger
301- @test Set (demux_logger. loggers) == Set ([testlogger, global_logger ()])
302- end
303-
304- @test_logs (:warn , r" deprecated" ) match_mode= :any begin
305- demux_logger = DemuxLogger (testlogger; include_current_global= true )
306- @test demux_logger isa TeeLogger
307- @test Set (demux_logger. loggers) == Set ([testlogger, global_logger ()])
308- end
309-
310- @test_logs (:warn , r" deprecated" ) match_mode= :any begin
311- demux_logger = DemuxLogger (testlogger; include_current_global= false )
312- @test demux_logger isa TeeLogger
313- @test Set (demux_logger. loggers) == Set ([testlogger])
314- end
296+ # Nothing is currently deprecated
315297end
You can’t perform that action at this time.
0 commit comments