add loging, in this element.py, xraylib was used to calculate cross section, energy line and others