logasm 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -1
- data/lib/logasm/adapters/rabbitmq_adapter.rb +1 -1
- data/lib/logasm/null_logger.rb +18 -0
- data/lib/logasm.rb +1 -0
- data/logasm.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89d75c7fbd5b6b266b767c92aa55f963dd3d058e
|
4
|
+
data.tar.gz: e3425797d5df21071db126019373df4b10036dd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e977d912a5e4edf5fb42a426de334131c9802e01759dc0683f2946131308f96c02b5f4b4f39b9e25af114d925cefc20f1ee0d43a9e2915c595b32ff99c890b2d
|
7
|
+
data.tar.gz: 8222dd3db656c1796075e7df9c25f90dc1aec98ba3ee0163be9385fa87e04ee553f79f6cf286358ee73bb2e536ca0b1a25e8580e435cef31906308abd3e4a197
|
data/Gemfile.lock
CHANGED
@@ -16,7 +16,7 @@ class Logasm
|
|
16
16
|
|
17
17
|
def initialize(level, service_name, arguments = {})
|
18
18
|
config = arguments.select { |key, value| CONFIGURATION_KEYS.include?(key) }
|
19
|
-
logger =
|
19
|
+
logger = NullLogger.new
|
20
20
|
@queue = arguments.fetch(:queue, 'logstash-queue')
|
21
21
|
@level = level
|
22
22
|
@service_name = service_name
|
data/lib/logasm.rb
CHANGED
data/logasm.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "logasm"
|
7
|
-
gem.version = '0.2.
|
7
|
+
gem.version = '0.2.3'
|
8
8
|
gem.authors = ["Salemove"]
|
9
9
|
gem.email = ["support@salemove.com"]
|
10
10
|
gem.description = %q{It's logasmic}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logasm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salemove
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- lib/logasm/adapters/logstash_adapter/formatter.rb
|
88
88
|
- lib/logasm/adapters/rabbitmq_adapter.rb
|
89
89
|
- lib/logasm/adapters/stdout_adapter.rb
|
90
|
+
- lib/logasm/null_logger.rb
|
90
91
|
- lib/logasm/utils.rb
|
91
92
|
- logasm.gemspec
|
92
93
|
- spec/adapters/logstash_adapter/formatter_spec.rb
|