Logging for non-metric classes