Smart Logging fix

I'm not sure how this happened in all honesty, but the .getType() was never changed to .getTypeId() in my original PR. This is to fix that issue so that all servers can benefit from the full capabilities of smart logging.