log.print(level, fmt, object[]) didn't delay formatting the object[] params.
commitd623a4348f342fb30716a5e9a3ddcdbf3ed64754
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 7 Oct 2008 18:09:47 +0000 (7 14:09 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 7 Oct 2008 18:09:47 +0000 (7 14:09 -0400)
tree3d655b86f1d9a5a2ab85366cfae4b81f05ba8f35
parent494567fd2e594cbbfce9059dff8dbb9228ee5956
log.print(level, fmt, object[]) didn't delay formatting the object[] params.

log.print(level, fmt) worked as expected, but we foolishly ran String.Format
*before* we checked whether the loglevel was right.  Thus, wv.hexdump()
would hexdump even if the message wasn't going to be printed.
wvdotnet/wvlog.cs