mirror of
https://github.com/urbanadventurer/WhatWeb
synced 2026-06-21 14:12:19 +00:00
11 lines
264 B
Ruby
11 lines
264 B
Ruby
class LoggingObject < Logging
|
|
def out(target, status, results)
|
|
$semaphore.synchronize do
|
|
@f.puts "Identifying: #{target}"
|
|
@f.puts "HTTP-Status: #{status}"
|
|
@f.puts results.pretty_inspect unless results.empty?
|
|
@f.puts
|
|
end
|
|
end
|
|
end
|