[Red5devs] Log messages

Walter Tak walter at waltertak.com
Wed Oct 29 16:51:20 PST 2008


Art: log.debug("Here's the string: {}; here's the integer: {}", s, i);

Paul:  log.info("My {} brown {} jumped over the {} dogs tail", new 
Object[]{"quick", "fox", "lazy"});

I see 2 different ways : one with all variables separated and one with all 
parameters in an Object , are both valid ?

Regards,
Walter




More information about the Red5devs mailing list