Some pretty printing in the runtime.

This commit is contained in:
Michael Bebenita
2010-08-09 07:52:07 -07:00
parent 9ff6a3d031
commit 30734a9a7b
6 changed files with 66 additions and 18 deletions

View File

@@ -31,9 +31,7 @@ circular_buffer::circular_buffer(rust_dom *dom, size_t unit_sz) :
}
circular_buffer::~circular_buffer() {
dom->log(rust_log::MEM | rust_log::COMM,
"~circular_buffer 0x%" PRIxPTR,
this);
dom->log(rust_log::MEM, "~circular_buffer 0x%" PRIxPTR, this);
I(dom, _buffer);
W(dom, _unread == 0, "~circular_buffer with unread messages.");
dom->free(_buffer);