logatron 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logatron/message_formatting.rb +3 -1
- data/logatron.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36a210ba841ceefe961f6020d9b92d69c4ab5157
|
4
|
+
data.tar.gz: 82d67c690b90d979f959ed3403bc0588c9eb1547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6db9c3b6de7630b18ed6c47271fb3152951e3a716471a8f4e8dadc610dfa21b20b9330cd630e993d04f54dd36c02552066b1ea45331a36bc0762f93cbc60c0c8
|
7
|
+
data.tar.gz: 1c18f953591005db5eae33bb9b6fd2082c807fabf8a5d91257e0143daff5fc8081719edce03bafde91a73d025f1648cfaf338e9507236c061dd43bb86867f753
|
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'logatron/contexts'
|
2
2
|
require 'logatron/configuration'
|
3
|
+
require 'time'
|
4
|
+
|
3
5
|
module Logatron
|
4
6
|
module Formatting
|
5
7
|
def milliseconds_elapsed(finish, start)
|
@@ -10,7 +12,7 @@ module Logatron
|
|
10
12
|
Logatron.configuration.transformer.call(
|
11
13
|
pid: Process.pid,
|
12
14
|
app_id: Logatron.configuration.app_id,
|
13
|
-
timestamp: Time.now.iso8601,
|
15
|
+
timestamp: Time.now.iso8601(3),
|
14
16
|
severity: severity,
|
15
17
|
host: Logatron.configuration.host,
|
16
18
|
id: Contexts.msg_id,
|
data/logatron.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logatron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Grimes
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|