[liblouis-liblouisxml] Re: LibLouisUTDML logging, handling log file names in functions

  • From: "Michael Whapples" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "mwhapples@xxxxxxx" for DMARC)
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 05 Jun 2014 13:18:35 +0100

Remember there is the ability to register your own callback for logging. BrailleBlaster in my mind is likely to want to do that.


The built in default callbacks are basic file logging. I think may be it should be a simple case of do something sensible, well defined and if people want otherwise they can use the custom callback route.

Michael Whapples
On 05/06/2014 12:59, Keith Creasy wrote:
Yes, I agree. We may want to set the log file paths from BrailleBlaster to log 
them to the temp directory, all in one place so it's easier to tell a user how 
to find them.


Sounds fine.


-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Michael Whapples
Sent: Thursday, June 05, 2014 7:56 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] LibLouisUTDML logging, handling log file names 
in functions

Hello,
In separating certain liblouis and liblouisutdml things relating to logging, it 
was mentioned that ideally the default callbacks for the logging system should 
log to files and liblouis and liblouisutdml should log to separate files.

My question comes from this, some functions in liblouisutdml (eg.
lbu_initialize) take log file names, what should be set here?

I am thinking it should just set the liblouisutdml log filename, liblouisutdml 
functions should really work on liblouisutdml unless there is a good reason for 
it to affect liblouis.

Do people agree?

Michael Whapples
For a description of the software, to download it and links to project pages go 
to http://www.abilitiessoft.com
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: