Using logog logging in class SHPInterface and refomatting source code.