Converts a type name to snake case
String loggerNameOf(Type type) { return ReCase("$type").camelCase; }