yell-rails 0.10.0 → 0.10.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/generators/yell/install/templates/config/yell.yml +11 -1
- data/lib/yell/rails.rb +3 -0
- data/yell-rails.gemspec +1 -1
- metadata +1 -1
@@ -1,14 +1,24 @@
|
|
1
|
+
# The following is an example config file for yell.
|
2
|
+
|
1
3
|
development:
|
2
4
|
adapters:
|
3
5
|
- :file:
|
4
6
|
:filename: 'log/development.log'
|
5
7
|
|
6
|
-
|
8
|
+
production:
|
9
|
+
# set the minimum log level to info
|
7
10
|
:level: 'gte.info'
|
11
|
+
|
12
|
+
# define multiple adapters: one for notice and one for error messages
|
8
13
|
:adapters:
|
14
|
+
# this adapter writes all messages with a log level of warn or lower
|
15
|
+
# and writes to production.log
|
9
16
|
- :datefile:
|
10
17
|
:level: 'lte.warn'
|
11
18
|
:filename: 'log/production.log'
|
19
|
+
|
20
|
+
# this adapter writes all messages with a log level of error or higher
|
21
|
+
# and writes to error.log
|
12
22
|
- :datefile:
|
13
23
|
:level: 'gte.error'
|
14
24
|
:filename: 'log/error.log'
|
data/lib/yell/rails.rb
CHANGED
data/yell-rails.gemspec
CHANGED