Function installPreRollOutCallback

Synopsis

#include <src/easylogging++.h>

static void installPreRollOutCallback(const PreRollOutCallback &callback)

Description

Installs pre rollout callback, this callback is triggered when log file is about to be rolled out (can be useful for backing up)

Mentioned in

Source

Lines 3702-3704 in src/easylogging++.h.

static inline void installPreRollOutCallback(const PreRollOutCallback& callback) {
  ELPP->setPreRollOutCallback(callback);
}





Add Discussion

Log in to comment