Skip to content

Commit fff1afb

Browse files
committed
change info(); hopefully println won't get deprecated...
1 parent 8e13115 commit fff1afb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/TickTock.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Start counting. The other functions are:
3434
function tick()
3535
t0 = time_ns()
3636
task_local_storage(:TIMERS, (t0, get(task_local_storage(), :TIMERS, ())))
37-
info("Started timer: $(now()).")
37+
println("Started timer: $(now()).")
3838
end
3939

4040
"""
@@ -78,7 +78,7 @@ function tock()
7878
canondc = Dates.canonicalize(
7979
Dates.CompoundPeriod(Dates.Second(floor(t)),
8080
Dates.Millisecond(floor( (t - floor(t)) * 1000))))
81-
info("$(t)s: ($canondc)")
81+
println("$(t)s: ($canondc)")
8282
end
8383

8484
"""
@@ -92,7 +92,7 @@ function lap()
9292
canondc = Dates.canonicalize(
9393
Dates.CompoundPeriod(Dates.Second(floor(t)),
9494
Dates.Millisecond(floor( (t - floor(t)) * 1000))))
95-
info("$(t)s: ($canondc)")
95+
println("$(t)s: ($canondc)")
9696
end
9797

9898
end # module

0 commit comments

Comments
 (0)