warning function

void warning(
  1. String message
)

Add a warning messages to the system log.

Implementation

void warning(String message) =>
    (Settings().debugLevel.index >= DebugLevel.warning.index)
        ? log.log('\x1B[31m[CAMS WARNING]\x1B[0m $message')
        : 0;