> I just want to know how to access the logfiles first.

What do you exactly need to know ?

In the code, you can get a simple FILE* by calling :
FILE *myLogFile = globalContainer->logFileManager->getFile("MyName");

Then it will create a log file into
~/.glob2/logs/usernameMyName.log
(where "username" is the glob2 username)

There is one "special" thing: You can call
globalContainer->logFileManager->getFile("MyName") multiple times, at any place
of the code, and it will return the same pointer to same file.


_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to