[Red5devs] Log messages

Mondain mondain at gmail.com
Wed Oct 29 17:27:59 PST 2008


Yes, but if you have more than 2 you have use an object array.

On Wed, Oct 29, 2008 at 5:51 PM, Walter Tak <walter at waltertak.com> wrote:

>
> 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
>
>
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>



-- 
http://gregoire.org/
http://osflash.org/red5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5devs_osflash.org/attachments/20081029/04e9ee4e/attachment.html>


More information about the Red5devs mailing list