scashin133-syslog_logger 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/syslog_logger.rb +2 -2
- data/scashin133-syslog_logger.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.7.
|
1
|
+
1.7.3
|
data/lib/syslog_logger.rb
CHANGED
@@ -81,8 +81,8 @@ class SyslogLogger
|
|
81
81
|
if severity >= @level
|
82
82
|
prepend = progname ? "[#{progname}] " : nil
|
83
83
|
prepend ||= @filter ? "[#{@filter}] " : ''
|
84
|
-
message = clean(
|
85
|
-
SYSLOG.send LEVEL_LOGGER_MAP[severity], clean(message)
|
84
|
+
message = clean(message || block.call)
|
85
|
+
SYSLOG.send LEVEL_LOGGER_MAP[severity], prepend + clean(message)
|
86
86
|
end
|
87
87
|
true
|
88
88
|
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{scashin133-syslog_logger}
|
8
|
-
s.version = "1.7.
|
8
|
+
s.version = "1.7.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Eric Hodel", " Chris Powell", " Matthew Boeh", " Ian Lesperance", " Dana Danger", " Brian Smith", " Ashley Martens", "Sean Cashin"]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scashin133-syslog_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 1.7.
|
9
|
+
- 3
|
10
|
+
version: 1.7.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Eric Hodel
|