Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
femtocleaner[bot] committed Mar 28, 2019
1 parent 21eca06 commit a3d992a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/src/man/conclusion.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ mutable struct EC2Record <: Record
trace = Attribute{StackTrace}(get_trace)

EC2Record(
Attribute{DateTime}(() -> round(time, Dates.Second)),
Attribute{DateTime}(() -> round(time, digits=Dates.Second)),
Attribute(args[:level]),
Attribute(args[:levelnum]),
Attribute{AbstractString}(get_msg(args[:msg])),
Expand All @@ -98,7 +98,7 @@ mutable struct CSVFormatter <: Formatter
delim::Char
vals::Array{Symbol}

CSVFormatter(delim=',', vals=Array{Symbol}()) = new(delim, vals)
CSVFormatter(delim=',', vals=Array{Symbol}(undef)) = new(delim, vals)
end

function format(fmt::CSVFormatter, rec::Record)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/man/records.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mutable struct EC2Record <: AttributeRecord
trace = Attribute{StackTrace}(get_trace)

EC2Record(
Attribute{DateTime}(() -> round(time, Dates.Second)),
Attribute{DateTime}(() -> round(time, digits=Dates.Second)),
Attribute(level),
Attribute(levelnum),
Attribute{AbstractString}(msg),
Expand Down

0 comments on commit a3d992a

Please sign in to comment.