simplify log library