info abstract method

void info(
  1. String message, {
  2. Map<String, Object?>? extras,
})

Logs an informational message with optional structured metadata.

Info messages record general application events and state changes that are useful for monitoring normal operation, such as successful API calls or order completions.

The message describes the event. The optional extras map may include relevant context such as order identifiers or depot codes.

Example:

logger.info(
  'Order placed successfully',
  extras: {'orderId': '456', 'depotCode': 'D001'},
);

Implementation

void info(String message, {Map<String, Object?>? extras});