Skip to content

Unused LogLevel::Debug and a place where it can be used #634

@NexiusTailer

Description

@NexiusTailer

LogLevel::Debug in vlogLnInternal (here) doesn't have even a single place where it's actually used. However, at least one place where it can be used is the following code:

#ifdef _DEBUG
if (network->inEventDispatcher.count() == 0 && network->rpcInEventDispatcher.count(ID) == 0)
{
network->core->printLn("Received unprocessed RPC %zu", ID);
}
#endif

So it should probably omit #ifdef _DEBUG check and use network->core->logLn(LogLevel::Debug, instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions