User forums > General (but related to Code::Blocks)

logger plugin? recomended logger?

(1/2) > >>

WeakPeak:
hi is there a loggger that writes log to file as plugin for C::B  or can someone recommend a logger because the std::cout << "may onfo"; isent comftable and for many informationd not realy usefull.

thx in advance

ollydbg:

--- Quote from: WeakPeak on March 02, 2011, 03:12:15 am ---hi is there a loggger that writes log to file as plugin for C::B  or can someone recommend a logger because the std::cout << "may onfo"; isent comftable and for many informationd not realy usefull.

thx in advance

--- End quote ---
can not under stand your question, but logger did you require? a plugin? can you explain more?

WeakPeak:
when i write some informations out of my project like

int xyz = 5;
std::cout << \n this is value of variable xyz : " << xyz;

it writes out

 this is value of variable xyz : 5

to the system / console;

i want that to be written into a file so that instead writing std::cout

i implement a logger by

something like


# include "theLogger.h"


theLogger myLog;
myLog.info(" \n this is value of variable xyz : " , xyz) ;

in any common language this type of functionallity is called a logger or Logging Plugin/framework/class.

some SDK´s like eclipse in java has such plugin´s  http://www.ibm.com/developerworks/library/os-eclog/ for example.

thatfor i asked if C::B also offers such a feature or if someone could recommend a logger for c/c++ because the console output is not realy helpfull for larger projects.

ollydbg:
I don't think C::B need this feature. (though I still not understand your feature request)
I think you can implement this feature in your own C++ code, and you can search on google for logger, there are a lot there.

WeakPeak:

--- Quote from: ollydbg on March 02, 2011, 05:48:21 am ---(though I still not understand your feature request)

--- End quote ---

thats maybe the problem... it is no feature request, it was a simple question if someone could reccomend a logger or if C::B has a ready to work plugin for that without a big set up :), thx anyway

Navigation

[0] Message Index

[#] Next page

Go to full version