Skip to content

Commit

Permalink
Have :log_kv take an optional timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
james-callahan committed Aug 9, 2018
1 parent f70f20f commit 626d186
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion opentracing/span.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ end
--
-- @param key_values a table of string keys and values of string, bool, or
-- numeric types
function span_methods:log_kv(key_values)
--
-- @param timestamp an optional timestamp as a unix timestamp.
-- defaults to the current time
function span_methods:log_kv(key_values, timestamp)
end

--- Stores a Baggage item in the @class `Span` as a key/value pair.
Expand Down

0 comments on commit 626d186

Please sign in to comment.