Some function and macros to use EinaLog