waht is log used in chemistry