glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] gradient improvement


From: Nuage
Subject: Re: [glob2-devel] gradient improvement
Date: Sun, 02 Apr 2006 21:16:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051102

> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]