itz_logger 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 171611dc617d003a9b4a6a3b92202f0f529e27179cb6329866a1a257cf20e53f
4
- data.tar.gz: 73523533ada3dd32512226c4347f33acb74ab433060a5c30b09b1f3bff56fa99
3
+ metadata.gz: eeda4a17389816251f0c2b186b546423fd7d0805ab400771fde20c24f98e9ffd
4
+ data.tar.gz: 3770bbe95a92bc7e17ccd383d08a78b78a052837b7be20d0e73dc45d6829496c
5
5
  SHA512:
6
- metadata.gz: 32700bd7cad158abc87c8499015245c2bf8c9ef064091a529a8413192358532951bb89d3f6062d1992617c1504d04d3de91bf6d3afa39c95ab395be5806dfe90
7
- data.tar.gz: 756ebd564719e4632c7b922af99829fa49913764ebf6d92ff1ee1422fa489f868fdafe3dbbe8c46249fc20d1b869b0276062f36613a8804365881dbf7d3d0892
6
+ metadata.gz: 6cab13bf1ab87be10333910a20203e303d0a811502bfed82f5a2de25074cf50fb4ff27a3091b1128591902de7f10607e5953c79047e95483ca80764c7af32a1d
7
+ data.tar.gz: b0784545f5ff7444a48bb29cf2f2c14c313e460f31ee1a0883364e75ed61b78626ad3b0a911f8507483ba1c913a1c5a2a6d29e5cd5935a0dc55e099498515c4a
@@ -2,11 +2,14 @@
2
2
  require_relative "./log_terminal"
3
3
  require_relative "./log_strategy"
4
4
 
5
+ require 'securerandom'
6
+
5
7
  module ItzLogger
6
8
 
7
9
  class Logger
8
10
 
9
11
  @log_strategy = nil
12
+ @id = SecureRandom.hex(4)
10
13
 
11
14
  def initialize(options = {})
12
15
 
@@ -51,5 +54,9 @@ module ItzLogger
51
54
  @log_strategy.log_level
52
55
  end
53
56
 
57
+ def id
58
+ @id
59
+ end
60
+
54
61
  end
55
62
  end
@@ -1,3 +1,3 @@
1
1
  module ItzLogger
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itz_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Schaarschmidt