code: private void infoOrDebug( boolean info, String msg )
      {
          if ( info )
          {
              getLogger().info( msg );
          }
          else
          {
              getLogger().debug( msg );
          }
      }
docs: Log a message as info or debug.
  
  @param info if set to true, log as info(), otherwise as debug()
  @param msg  message to log