CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/logging/sinks/stdout.rb
Views: 11784
1
# -*- coding: binary -*-
2
module Rex
3
module Logging
4
module Sinks
5
6
###
7
#
8
# This class implements the LogSink interface and backs it against stdout
9
###
10
class Stdout < Rex::Logging::Sinks::Stream
11
12
#
13
# Creates a log sink instance that will be configured to log to stdout
14
#
15
def initialize(*_attrs)
16
super($stdout)
17
end
18
19
end
20
21
end end end
22
23