stopLoggers static method

LogError stopLoggers()

Stops all active loggers and closes their output files.

This function ensures that all pending messages are written and that the resources used by the loggers (such as file handles) are properly released before the program terminates.

Returns: A LogError indicating the result of the operation.

Implementation

static LogError stopLoggers() {
  return loggerManager.stopLoggers();
}