itz_logger 0.2.8 → 0.2.9

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: eeda4a17389816251f0c2b186b546423fd7d0805ab400771fde20c24f98e9ffd
4
- data.tar.gz: 3770bbe95a92bc7e17ccd383d08a78b78a052837b7be20d0e73dc45d6829496c
3
+ metadata.gz: 290af155a18755e05214f0d49442951e2c193c9ff575a3f52c0dfecec115eb86
4
+ data.tar.gz: f4056760e55a92b26b8ec971732178a9f4d2034a4613ddac26b68aa102f46e1b
5
5
  SHA512:
6
- metadata.gz: 6cab13bf1ab87be10333910a20203e303d0a811502bfed82f5a2de25074cf50fb4ff27a3091b1128591902de7f10607e5953c79047e95483ca80764c7af32a1d
7
- data.tar.gz: b0784545f5ff7444a48bb29cf2f2c14c313e460f31ee1a0883364e75ed61b78626ad3b0a911f8507483ba1c913a1c5a2a6d29e5cd5935a0dc55e099498515c4a
6
+ metadata.gz: f2e0b9f7985b5d17f5cdc1905ccdd0264bc3a632a57c96802b49b5d371a78b4e68d35bd91bf6f6d29857b1d09e46752d6b93a7b814b60874aebda5d4873221f1
7
+ data.tar.gz: 232229f967ba188be2fb1482e169632b7e4b74e1889829583df4a58cc8e2687465c525fe8f528d76c4c386a2f4f2b2ed296a569d78a4606cba57f215d08df540
@@ -9,13 +9,13 @@ module ItzLogger
9
9
  class Logger
10
10
 
11
11
  @log_strategy = nil
12
- @id = SecureRandom.hex(4)
13
12
 
14
13
  def initialize(options = {})
15
14
 
16
15
  log_level = options.fetch(:log_level, ItzLogger::MessageType::INFO)
17
16
  log_strategy = options.fetch(:log_strategy, ItzLogger::LogStrategy::LOG_TERMINAL)
18
17
  _log_file = options.fetch(:log_file, "./log/logfile.log")
18
+ @id = SecureRandom.hex(4)
19
19
 
20
20
  @log_strategy =
21
21
  case log_strategy
@@ -1,3 +1,3 @@
1
1
  module ItzLogger
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
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.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Schaarschmidt