Skip to content

Commit

Permalink
update to use hash for proper configurability
Browse files Browse the repository at this point in the history
  • Loading branch information
Colby Gutierrez-Kraybill committed Mar 12, 2010
1 parent 960930a commit c71a031
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions log4r/src/log4r/outputter/udpoutputter.rb
Expand Up @@ -15,10 +15,10 @@ class UDPOutputter < Outputter
attr_reader :host, :port
attr_accessor :udpsock

def initialize(_name, _host, _port, hash={})
def initialize(_name, hash={})
super(_name, hash)
@host = _host
@port = _port
@host = hash[:hostname]
@port = hash[:port]

begin
Logger.log_internal {
Expand Down

0 comments on commit c71a031

Please sign in to comment.