static protos.LogLevel createLogLevel(String name, int color, int iconData) { return protos.LogLevel.create() ..name = name ..color = color ..iconData = iconData; }