mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
add datetime parameter to lograge formatter
This commit is contained in:
parent
d4cc3e2946
commit
fdbbf8a97b
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@ module GrapeLogging
|
|||
severity: severity,
|
||||
duration: time[:total],
|
||||
db: time[:db],
|
||||
view: time[:view]
|
||||
view: time[:view],
|
||||
datetime: datetime.iso8601
|
||||
}.merge(data)
|
||||
::Lograge.formatter.call(attributes) + "\n"
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue