logCurrentProcessInformation function

void logCurrentProcessInformation(
  1. Logger logger,
  2. LogLevel logLevel
)

Implementation

void logCurrentProcessInformation(Logger logger, LogLevel logLevel) {
  logger.log(
      logLevel,
      'Current process information: '
      ' pid=$pid'
      ' currentRss=${processCurrentRssInMB}MB'
      ' maxRss=${processMaxRssInMB}MB');
}