1 package at.ac.tuwien.sbc.valesriegler.cook;
3 import org.slf4j.Logger;
4 import org.slf4j.LoggerFactory;
7 private static final Logger log = LoggerFactory.getLogger(Cook.class);
9 public static void main(String[] args) {
10 if (args.length != 1) {
11 throw new IllegalArgumentException("Cook needs exactly one parameter: ID");
14 int id = Integer.parseInt(args[0]);
15 log.info("I AM A COOK WITH ID {}", id);