Imported Megalog.h