oneline_log_formatter 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -1
- data/lib/oneline_log_formatter.rb +1 -1
- data/oneline_log_formatter.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d680e6336bee42c8ea83535c5ed94f69bb142c0
|
4
|
+
data.tar.gz: d953b3026e017d77ab47061c5b292b5ed839e329
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f65b9f92c45b1e1ac2934c530b6dbe696d7e326e1a7bc3011e0551f6f6d7dc75aad319de7114265b33e07a55d2f6c2a7ba9680527cd5264f93f3dcc14425fbce
|
7
|
+
data.tar.gz: 198344a5a7752a2a8f17d220f75d339f411571574a5c9eb612963e6541f3777434e0d914f0d30380bb996ae2df7db117f9610ce9ee48b2a5e97a114b0a78be82
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -32,9 +32,11 @@ logger.info("foo\nbar")
|
|
32
32
|
which outputs logs like
|
33
33
|
|
34
34
|
```
|
35
|
-
20150423T00:00:00+09:00 [INFO] foo
|
35
|
+
20150423T00:00:00+09:00 [INFO] foo\nbar
|
36
36
|
```
|
37
37
|
|
38
|
+
Note that the line feed character is converted into `\n`.
|
39
|
+
|
38
40
|
## Rails
|
39
41
|
|
40
42
|
Configure at `config/application.rb`
|
@@ -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 = "oneline_log_formatter"
|
7
|
-
gem.version = "0.0.
|
7
|
+
gem.version = "0.0.2"
|
8
8
|
gem.authors = ["Naotoshi Seo"]
|
9
9
|
gem.email = ["sonots@gmail.com"]
|
10
10
|
gem.description = %q{A logger formatter to output each log in one line forcely}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oneline_log_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naotoshi Seo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A logger formatter to output each log in one line forcely
|
14
14
|
email:
|
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
version: '0'
|
48
48
|
requirements: []
|
49
49
|
rubyforge_project:
|
50
|
-
rubygems_version: 2.
|
50
|
+
rubygems_version: 2.5.1
|
51
51
|
signing_key:
|
52
52
|
specification_version: 4
|
53
53
|
summary: A logger formatter to output each log in one line forcely
|