Skip to content

Commit 1bf42b8

Browse files
authored
Merge pull request #70 from JuliaLogging/ox/release
Release 1.0.0
2 parents 1172d4f + ce8c41b commit 1bf42b8

File tree

4 files changed

+6
-27
lines changed

4 files changed

+6
-27
lines changed

LICENSE.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The 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

Project.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LoggingExtras"
22
uuid = "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]
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

src/deprecated.jl

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
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.

test/runtests.jl

+1-19
Original file line numberDiff line numberDiff line change
@@ -293,23 +293,5 @@ end
293293
end
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
315297
end

0 commit comments

Comments
 (0)