nav-logger 0.0.5 → 0.0.6

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: 56b63b7db31c30b9f77956cc4900775ad1a6fd98
4
- data.tar.gz: cda93d3fc0ef02245d28e438761b2317fab87e54
3
+ metadata.gz: eb95b30c61d2e337013a3e017d31c93bf20870b5
4
+ data.tar.gz: 37b900c1c19f777f21ae2bfd68862fe98af74271
5
5
  SHA512:
6
- metadata.gz: 134cb4fb1f8924d5a501f5e2b29bc37da0e3b0dfd9df81f99a87c5f3cc62cf173548a31c64fd3757a635e356f064e1f5619288437dd31f0d679e8aef23eef8f8
7
- data.tar.gz: cb913a9b383a872f1e1443e08b15d2e3f3eb81fdbc365f0d3ba02599fcf92ec15c1b18d3a27add5b93f3d4f34e49304594edfb96637831059bb42052bb21bc10
6
+ metadata.gz: 6470d7a5e7ff2800e6d31a5727b1de4e136435db8d633b55a41f2c9b59b378e664d81de07c786cbc41dbe1247512717a0c64a1b63b62a7a1b3d7139497dca20d
7
+ data.tar.gz: cb02b1ab1b6b3ac6a45586340f5db51f7cb03ca74b8dadeba5257018ad5dd1a7117f396772f96deda40f4e76030cf4fef8be21bd901db2db5d2ba759b342192b
data/lib/nav/logger.rb CHANGED
@@ -6,9 +6,11 @@ require "socket"
6
6
  require "nav/logger/base_logger"
7
7
  require "nav/logger/console_logger"
8
8
  require "nav/logger/default_logger"
9
+ require "nav/logger/file_logger"
9
10
  require "nav/logger/httparty_formatter"
10
11
  require "nav/logger/middleware/request_logger"
11
12
  require "nav/logger/middleware/request_tagger"
13
+ require "nav/logger/stdout_logger"
12
14
  require "nav/logger/test_logger"
13
15
  require "nav/logger/version"
14
16
 
@@ -0,0 +1,9 @@
1
+ module Nav
2
+ module Logger
3
+ class StdoutLogger < BaseLogger
4
+ def initialize
5
+ @fluent_logger = Fluent::Logger::ConsoleLogger.open STDOUT
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  module Nav
2
2
  module Logger
3
- VERSION = "0.0.5".freeze
3
+ VERSION = "0.0.6".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nav-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - JohnnyT
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-20 00:00:00.000000000 Z
11
+ date: 2018-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluent-logger
@@ -68,6 +68,7 @@ files:
68
68
  - lib/nav/logger/middleware/request_logger.rb
69
69
  - lib/nav/logger/middleware/request_tagger.rb
70
70
  - lib/nav/logger/rails/logger_tie.rb
71
+ - lib/nav/logger/stdout_logger.rb
71
72
  - lib/nav/logger/test_logger.rb
72
73
  - lib/nav/logger/version.rb
73
74
  - nav-logger.gemspec