titles property

Map<TalkerLogType, String> titles
final

Custom Logger Titles.

The titles field is intended for storing custom titles for the logger, associated with various log types. Each title is associated with a specific log type represented as an enum called TalkerTitle. This allows you to provide informative and unique titles for each log type, making logging more readable and informative.

Example usage:

final customTitles = {
  TalkerTitle.info: "Information",
  TalkerTitle.error: "Error",
  TalkerTitle.warning: "Warning",
};

final logger = Talker(
  settings: TalkerSettings(
    titles: customTitles,
  )
);

Implementation

final Map<TalkerLogType, String> titles;