Define LOGS

Define Documentation

LOGS(logger, level, message)

Log a message using an iostream-based interface.

Message is any expression which can appear on the right side of the stream insertion operator, e.g. LOGS("logger", LOG_LVL_DEBUG, "coordinates: x=" << x << " y=" << y);. Usual caveat regarding commas inside macro arguments applies to message argument.

Parameters
  • logger: Either a logger name or a Log object.

  • level: Logging level associated with message.

  • message: Message to be logged.