yell-adapters-syslogsd 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,8 +9,10 @@ module Yell
9
9
  @port = opts[:port] || 514
10
10
  @facility = opts[:facility] || $0
11
11
  @prefix = opts[:prefix] || ''
12
+ @mapping = opts[:mapping] || :logger
12
13
 
13
14
  @instance = SyslogSD::Logger.new @host, @port
15
+ @instance.level_mapping = @mapping
14
16
  end
15
17
 
16
18
  def yank_hashes_from *messages
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "yell-adapters-syslogsd"
8
- spec.version = '0.0.1' # Yell::Adapters::Syslogsd::VERSION
8
+ spec.version = '0.0.2' # Yell::Adapters::Syslogsd::VERSION
9
9
  spec.authors = ["Raymond F. Wells"]
10
10
  spec.email = ["rfw2nd@gmail.com"]
11
11
  spec.summary = %q{Connect SyslogSD to Yell}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yell-adapters-syslogsd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Raymond F. Wells