catamaran 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dad20818493f3c8f96f0d942495f6a4cb40712e0
4
- data.tar.gz: 79168eb79497446d8247b0c1a6b0d017365ea687
3
+ metadata.gz: 410f6cab582f4a6bae572cb402f8418de8ba747a
4
+ data.tar.gz: 0a3d19f6bf7fa91ab2ab2adc975ef9c97383a6c1
5
5
  SHA512:
6
- metadata.gz: 30c7a5da926687402aecfbee909a3d1d6aef5f02c49ea4793e1b46891ecf1adda76845ab44a2f52060881c975908b71d14274cc3b9a71d07f237cdfca00812dd
7
- data.tar.gz: 86295eff51d438edd6df7e28755c8447e6cd54180739ff4a76682888e69c9d7a97af4fc638492dfb2eba9712e0e9578a5bee9022a1667d8ad1fcad9f71fa6a1e
6
+ metadata.gz: 6f0404c71937b1c5a498dec0c08046a650f1aa12f5463e6394935bced82fb16304d7470c8c1816b74b07740dd6d6dd44f103c5cbdf78be8dc2e959f37d608718
7
+ data.tar.gz: 530fe5faf02e4ff3d6b411ddbb9b1a420e4589e92529f03f8c0762141d84337e7e92af444be26b13b677e79ce7c5f2a32ee8d3b0f3243d7f1738ab14620082aa
data/README.md CHANGED
@@ -6,7 +6,7 @@ Logging is a powerful and often undervalued tool in software development. When
6
6
  Gemfile
7
7
  -------
8
8
 
9
- gem 'catamaran', '~> 0.8.0'
9
+ gem 'catamaran', '~> 0.8.1'
10
10
 
11
11
  Rails-related setup:
12
12
 
@@ -5,7 +5,7 @@ module Catamaran
5
5
 
6
6
  class CallerFormatter < BaseFormatter
7
7
  def self.construct_formatted_message( log_level, path, msg, opts )
8
- "#{base_construct_formatted_message( log_level, path, msg, opts )} (#{caller(3)[0]})" + construct_backtrace_info( opts )
8
+ "#{base_construct_formatted_message( log_level, path, msg, opts )} (#{caller(4)[0]})" + construct_backtrace_info( opts )
9
9
  end
10
10
  end
11
11
  end
@@ -1,4 +1,4 @@
1
1
  module Catamaran
2
- VERSION = '0.8.0'
2
+ VERSION = '0.8.1'
3
3
  end
4
4
 
@@ -1,11 +1,8 @@
1
1
  ##
2
2
  # Custom settings for Catamaran in development
3
3
 
4
- # Enable logging to STDERR
5
- Catamaran::Manager.stderr = true
6
-
7
4
  # The default log level is INFO. Switch to DEBUG in development
8
- Catamaran::LogLevel.default_log_level = Catamaran::LogLevel::DEBUG
5
+ Catamaran.logger.log_level = Catamaran::LogLevel::DEBUG
9
6
 
10
7
  # By default, logger.io messages will be captured when the log level is DEBUG (IO_LESS_CRITICAL_THAN_INFO)
11
8
  # If that's too verbose, uncomment this
@@ -1,5 +1,9 @@
1
1
  ##
2
2
  # Custom settings for Catamaran in all Rails environments
3
3
 
4
- # Catamaran::Manager.stderr = true
5
- # Catamaran::Manager.stdout = false
4
+ # Uncomment to change the default log level was set to INFO
5
+ # Catamaran.logger.log_level = Catamaran::LogLevel::INFO
6
+
7
+ # Uncomment to disable stderr and enable stdout output
8
+ # Catamaran::Manager.stderr = false
9
+ # Catamaran::Manager.stdout = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catamaran
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeano