|
|||
|
|||
|


Public Member Functions | |
| ChannelLogStream (InspIRCd *Instance, int loglevel, const std::string &chan) | |
| virtual void | OnLog (int loglevel, const std::string &type, const std::string &msg) |
| Called when there is stuff to log for this particular logstream. | |
Private Attributes | |
| std::string | channel |
Definition at line 16 of file m_chanlog.cpp.
|
||||||||||||||||
|
Definition at line 22 of file m_chanlog.cpp. |
|
||||||||||||||||
|
Called when there is stuff to log for this particular logstream. The derived class may take no action with it, or do what it wants with the output, basically. loglevel and type are primarily for informational purposes (the level and type of the event triggered) and msg is, of course, the actual message to log. Implements LogStream. Definition at line 26 of file m_chanlog.cpp. References channel, InspIRCd::Config, InspIRCd::FindChan(), LogStream::loglvl, MAXBUF, Channel::name, InspIRCd::PI, ProtocolInterface::SendChannelPrivmsg(), LogStream::ServerInstance, ServerConfig::ServerName, and Channel::WriteChannelWithServ(). |
|
|
Definition at line 19 of file m_chanlog.cpp. Referenced by OnLog(). |