}
void TraceWriter::setup(const char* fileName, const Configuration& configuration)
-throw() {
+{
int maxSize = a_maxSize;
bool clean = true;
}
void TraceWriter::setup(const char* fileName, const int maxSize, const bool clean)
-throw() {
+{
ssize_t r;
if(a_stream != -1) {
}
void TraceWriter::attach(TraceWriterObserver* observer)
-throw() {
+{
if(observer != NULL) {
a_observed = true;
a_observers.push_back(observer);
}
void TraceWriter::printResume()
-throw() {
+{
cout << "Traces file ..................................: " << a_outputFile << endl;
cout << "Backup copy .................................: " << a_outputOldFile << endl;
cout << "Files size (Kbytes) ..........................: " << (a_maxSize >> 10) << endl;
}
void TraceWriter::do_write(int level, const char* text, ...)
-throw() {
+{
va_list ap;
const char* data;
int size;
}
const char* TraceWriter::getDate()
-throw() {
+{
const Microsecond msnow = functions::hardwareClock();
if(a_lastTime == 0 || (msnow - a_lastTime) > 1000000L) {
}
int TraceWriter::prepareOutput(const char* date)
-throw() {
+{
int result = a_stream;
if(result == ErrorStream)