diff options
author | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
commit | c2ddecc2b1dbc9d055166bdf296da2e4536f74f6 (patch) | |
tree | 9b98582630a2debab628e23d4d796885f50ada74 /src/send.cpp | |
parent | 73fb94c55344b6ad788c925bf13325236402891f (diff) |
Added a new logging system
Diffstat (limited to 'src/send.cpp')
-rw-r--r-- | src/send.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/send.cpp b/src/send.cpp index 62f1b8ec5..453131f51 100644 --- a/src/send.cpp +++ b/src/send.cpp @@ -33,21 +33,21 @@ void send_cmd(const Anope::string &source, const char *fmt, ...) if (!UplinkSock) { if (!source.empty()) - Alog(LOG_DEBUG) << "Attemtped to send \"" << source << " " << buf << "\" with UplinkSock NULL"; + Log(LOG_DEBUG) << "Attemtped to send \"" << source << " " << buf << "\" with UplinkSock NULL"; else - Alog(LOG_DEBUG) << "Attemtped to send \"" << buf << "\" with UplinkSock NULL"; + Log(LOG_DEBUG) << "Attemtped to send \"" << buf << "\" with UplinkSock NULL"; return; } if (!source.empty()) { UplinkSock->Write(":%s %s", source.c_str(), buf); - Alog(LOG_DEBUG) << "Sent: :" << source << " " << buf; + Log(LOG_RAWIO) << "Sent: :" << source << " " << buf; } else { UplinkSock->Write("%s", buf); - Alog(LOG_DEBUG) << "Sent: "<< buf; + Log(LOG_RAWIO) << "Sent: "<< buf; } va_end(args); |