enhanced-logger 0.0.9 → 0.1.0

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
  SHA1:
3
- metadata.gz: 70e96b5b1168e9c83af662b9244c08427619362c
4
- data.tar.gz: e84d84bad333253c9b81cf3d24289c0216546ab9
3
+ metadata.gz: 01c7810aa2d4eef887ff89c754b64c81c4059744
4
+ data.tar.gz: 90517720ae9b2c9bf5d695c3d5d06fe0197887f4
5
5
  SHA512:
6
- metadata.gz: 8604b7d702f7cc6882eb3ae43ec71087a3d46b278550ee54c51e43d0eeed7430fce6289050cdcee56686d3122b55b8085da72098cec3c320815fae90465cf867
7
- data.tar.gz: 8cb18405ff04a97979ac090ea3dd799ebaf8044f077dfc6dc49bdf2b5626fc8ff1450f29c239221207eb97c92c3d8de340d3c15fc7e10ff736cb816f7d4dc1e8
6
+ metadata.gz: b9baa534e8d760f83d9d5a428be19165c6b36b764ae72388a1ecf6fc3864cfe76820df683152335f7371504d0d0c77fed57e147f5b179c827575494322117d59
7
+ data.tar.gz: d5e2995d211b1848cbc7b121ddad2cf8db9258c248b2f8054d5d4e44b65e56355f3a013d91800ad4dae2b169c678efdbbdd8dedd926101e14ebd9dd156adda69
@@ -1,8 +1,9 @@
1
+ puts __FILE__
2
+
1
3
  module EnhancedLogger
2
4
  require 'enhanced_logger/logger'
3
-
5
+
4
6
  if defined?(Rails)
5
- require 'rails/application_controller'
6
7
  else
7
8
  # require 'our_gem/difficult_stuff'
8
9
  end
@@ -1,5 +1,3 @@
1
- puts 'EnhancedLogger loaded...'
2
-
3
1
  module EnhancedLogger
4
2
  class Logger
5
3
  attr_accessor :level
@@ -9,11 +7,13 @@ module EnhancedLogger
9
7
  end
10
8
 
11
9
  def set_env env
10
+ puts __method__
12
11
  @request_id = env[ 'HTTP_X_REQUEST_ID' ]
13
12
  @remote_request_id = env[ 'HTTP_X_REMOTE_REQUEST_ID' ]
14
13
  end
15
14
 
16
15
  def clear_env
16
+ puts __method__
17
17
  end
18
18
 
19
19
  def info msg = nil
@@ -1,3 +1,3 @@
1
1
  module EnhancedLogger
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enhanced-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Ulmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
11
+ date: 2016-01-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Logs extra info.
14
14
  email: george@boost-media.com