Skip to content

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

Closed

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.

Activity

  1. AmyrAhmady commented on Jun 11, 2023

    @AmyrAhmady
    Member

    Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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