refactor log familly (elog, slog, clog, log)