Sha256: 029bf14b0399504a77657908ed0b078fd705133c534c8fad133ad23bb129ff17
Contents?: true
Size: 676 Bytes
Versions: 138
Compression:
Stored size: 676 Bytes
Contents
# :include: rdoc/logserver require 'log4r/logger' require 'log4r/lib/drbloader' module Log4r # See log4r/logserver.rb class LogServer < Logger attr_reader :uri # A valid ROMP uri must be specified. def initialize(_fullname, _uri, _level=nil, _additive=true, _trace=false, &accept) super(_fullname, _level, _additive, _trace) @uri = _uri start_server(_uri, accept) Logger.log_internal {"LogServer started at #{@uri}"} end if HAVE_ROMP include ROMPServer else def initialize(*args) raise RuntimeError, "LogServer not supported. ROMP is required", caller end end end end
Version data entries
138 entries across 100 versions & 19 rubygems