log macro added