1 package C4
::SIP
::Logger
;
6 our @EXPORT_OK = qw
( get_logger set_logger
);
13 C4::SIP::Logger - Module for handling SIP server logging
17 my $sipServer = C4::SIP::SIPServer::get_SIPServer()
19 @RETURNS C4::SIP::SIPServer, the current server's child-process used to handle this SIP-transaction
24 return $activeSIPServer;
29 my $sipServer = C4::SIP::SIPServer::_set_SIPServer($sipServer)
31 Sets the passed in SIP server as the active SIP server and returns it as well
33 @RETURNS C4::SIP::SIPServer, the current server's child-process used to handle this SIP-transaction
39 $activeSIPServer = $sipServer;
40 return $activeSIPServer;
45 my $logger = C4::SIP::SIPServer::get_logger()
47 @RETURNS Koha::Logger, the logger used to log this SIP-transaction
57 my $logger = C4::SIP::SIPServer::set_logger($logger)
63 $activeLogger = $logger;