Modified logging function to include level-based filtering. Also removed an unnecessary field from Field/Method Info.