#include "ace/Assert.h"#include "ace/Log_Msg.h"
Go to the source code of this file.
Functions | |
| void | __ace_assert (const char *file, int line, const ACE_TCHAR *expression) |
| void __ace_assert | ( | const char * | file, | |
| int | line, | |||
| const ACE_TCHAR * | expression | |||
| ) |
Definition at line 13 of file Assert.cpp.
{
int error = ACE_Log_Msg::last_error_adapter ();
ACE_Log_Msg *log = ACE_Log_Msg::instance ();
log->set (file, line, -1, error, log->restart (),
log->msg_ostream (), log->msg_callback ());
log->log (LM_ERROR, ACE_TEXT ("ACE_ASSERT: file %N, line %l assertion failed for '%s'.%a\n"), expression, -1);
}
1.7.0