From: John Torjo (john_at_[hidden])
Date: 2003-05-25 02:05:13
> > > > > 7. Is it possible to write into log info from applications
> > >
> > Of course, use the .msg() function. Like this:
> > SMART_ASSERT(false).msg("huge file copy failed, compare current
> Maybe some standalone function/macro is better to be used: assert(false)
> would trigger abort/exception/something nasty.
> What about:
> which is commented out when asserts are disabled?
SMART_ASSERT(false).warn("huge file copy failed...");
(warning usually is ignored - the user is not asked to do anything, by
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk