InfologData
infologData;
void
saveInfolog()
{
;
// here we report something
error("something awful");
error("something terrible");
setprefix("scary");
warning("mouse");
{
;
// here we report something
error("something awful");
error("something terrible");
setprefix("scary");
warning("mouse");
//
here we get infolog data
infologData = infolog.infologData();
infologData = infolog.infologData();
infolog.clear(0);
}
}
void
restoreInfolog()
{
;
// here we view infolog once again
infolog.import(infologData);
}
;
{
;
// here we view infolog once again
infolog.import(infologData);
}
;
saveInfolog();
restoreInfolog();
infolog.view(x.InfoLogData);
info(Info::infoCon2str(x.InfoLogData));
restoreInfolog();
infolog.view(x.InfoLogData);
info(Info::infoCon2str(x.InfoLogData));
Nessun commento:
Posta un commento