initialize method

void initialize()

Initializes the object pools

Implementation

void initialize() {
  _initializeLogEntryPool();
  _initializeLogEventPool();
  _initializeStringBufferPool();
  _initializeContextMapPool();

  developer.log(
    'ObjectPool initialized with ${_initialPoolSize} objects per pool',
    name: 'ObjectPool',
  );
}