Regarding creation of Log File
-
I want to create detailed log of errors that could be raised in any part of whole application while execution. My application is based on client/ server architecture which uses TCP connection.I want to create and maintain log file containing all errors generated with their respective function, class or any part of an application including timestamp. so that i can analyze them to correct them. Regards, Hemang
-
I want to create detailed log of errors that could be raised in any part of whole application while execution. My application is based on client/ server architecture which uses TCP connection.I want to create and maintain log file containing all errors generated with their respective function, class or any part of an application including timestamp. so that i can analyze them to correct them. Regards, Hemang
What is your trouble doing it?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
I want to create detailed log of errors that could be raised in any part of whole application while execution. My application is based on client/ server architecture which uses TCP connection.I want to create and maintain log file containing all errors generated with their respective function, class or any part of an application including timestamp. so that i can analyze them to correct them. Regards, Hemang
So you can just use
std::ofstream
to write log in a text file.
Maxwell Chen
-
So you can just use
std::ofstream
to write log in a text file.
Maxwell Chen
could anybody please tell me how to create a log file containing date, time, file name and operation being done on or by the file