> > > Hi, > just to make things clearer, I also do not like global variables as > such. What I've been thinking of was to provide something similar to > PdfError::EnableLogging() and PdfError::EnableDebug(). That would work > fine, no? > Bye, > zyx > > There is little difference. Logging here is really global as any function or class method can log. Ignoring broken objects is local to parser. But as I am thinking it could be good also as global setting as I even cannot devise situation where I would want to not be able to open such broken pdfs. (Maybe it is good for checking generated pdfs in podofo tests?). Unless someone really needs to use different settings in different threads for some reason (now or in future).
> > > _______________________________________________ > Podofo-users mailing list > Podofo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/podofo-users >
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users