lib/rubyrep/configuration.rb in rubyrep-1.1.0 vs lib/rubyrep/configuration.rb in rubyrep-1.1.1
- old
+ new
@@ -8,11 +8,20 @@
attr_accessor :left
# Connection settings for the "right" database.
# Takes a similar hash as ActiveRecord::Base.establish_connection.
# Additional settings in case a proxy is used:
- # * +proxy_host+: name or IP address of where the proxy is running
- # * +proxy_port+: port on which the proxy is listening
+ # * :+proxy_host+: name or IP address of where the proxy is running
+ # * :+proxy_port+: port on which the proxy is listening
+ # Other additional settings:
+ # * :+logger+:
+ # Specify an SQL statement logger for this database connection.
+ # Can be either
+ # * a logger instance itself (Logger or Log4r::Logger) or
+ # * the parameter to create a Logger with Logger.new
+ # Examples:
+ # +config.left[:logger] = STDOUT
+ # +config.right[:logger] = Logger.new('rubyrep_debug.log')
attr_accessor :right
# Returns true unless running on windows...
def self.true_if_running_in_a_terminal_and_not_under_windows
# Not using RUBY_PLATFORM as it should also work under JRuby
\ No newline at end of file