diff options
| author | 2013-04-12 07:58:58 -0700 | |
|---|---|---|
| committer | 2013-04-12 07:58:58 -0700 | |
| commit | a5fe50aca04ca554d313e7361c571c6a497a9c4e (patch) | |
| tree | 88fdf155712654b0c783bb53770d8e80e28b0d10 /src/user_resolver.cpp | |
| parent | Merge pull request #487 from SaberUK/master+better-isupport-api (diff) | |
| parent | Add LOG_ prefix to the log level enum values. (diff) | |
Merge pull request #488 from SaberUK/master+loglevel-rename
Add LOG_ prefix to the log level enum values.
Diffstat (limited to 'src/user_resolver.cpp')
| -rw-r--r-- | src/user_resolver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/user_resolver.cpp b/src/user_resolver.cpp index 1f88018c6..9c530506d 100644 --- a/src/user_resolver.cpp +++ b/src/user_resolver.cpp @@ -31,11 +31,11 @@ void UserResolver::OnLookupComplete(const std::string &result, unsigned int ttl, LocalUser* bound_user = (LocalUser*)ServerInstance->FindUUID(uuid); if (!bound_user) { - ServerInstance->Logs->Log("RESOLVER", DEBUG, "Resolution finished for user '%s' who is gone", uuid.c_str()); + ServerInstance->Logs->Log("RESOLVER", LOG_DEBUG, "Resolution finished for user '%s' who is gone", uuid.c_str()); return; } - ServerInstance->Logs->Log("RESOLVER", DEBUG, "DNS result for %s: '%s' -> '%s'", uuid.c_str(), input.c_str(), result.c_str()); + ServerInstance->Logs->Log("RESOLVER", LOG_DEBUG, "DNS result for %s: '%s' -> '%s'", uuid.c_str(), input.c_str(), result.c_str()); if (!fwd) { @@ -62,7 +62,7 @@ void UserResolver::OnLookupComplete(const std::string &result, unsigned int ttl, } catch (CoreException& e) { - ServerInstance->Logs->Log("RESOLVER", DEBUG,"Error in resolver: %s",e.GetReason()); + ServerInstance->Logs->Log("RESOLVER", LOG_DEBUG,"Error in resolver: %s",e.GetReason()); } } else |
