Function castFromInt

Synopsis

#include <src/easylogging++.h>

static Level castFromInt(base::type::EnumType l)

Description

Casts int(ushort) to level, useful for iterating through enum.

Source

Lines 619-621 in src/easylogging++.h.

static Level castFromInt(base::type::EnumType l) {
  return static_cast<Level>(l);
}





Add Discussion

Log in to comment