Log4c developersguide Log C Developers Guide Nov First Draft pulls together information from README ?les and various 'how to ' documents for Log C This document is started between the release of Log C and so although much of it is valid for older releases
Log C Developers Guide Nov First Draft pulls together information from README ?les and various 'how to ' documents for Log C This document is started between the release of Log C and so although much of it is valid for older releases it is more looking towards the release Where you see xxx in the text this denotes an item we need to get back to This document was created with Open O ?ce Table of Contents Introduction Log C Concepts and Overview How to download and build Log C Parsing the Log C con ?guration ?lethe expat dependency Some comments on building Log C in the corporate factory Log C is released under the LGPL license Building on di ?erent platforms Building On Unix Building on Windows Building on MAC OS Packaging on di ?erent platforms Getting startedrunning the examples Running application Con ?guring the priority for a category Con ?guring application to log to a set of log ?les What about application Using the Log C API The helloworld example with Log C The helloworld code Con ?guring and running helloworld Con ?guring helloworld with the con ?guration ?le Con ?guring helloworld with the environment variables Con ?guring helloworld via the Log C API Comments on the the di ?erent con ?guration methods Interaction of the con ?guration methods Including Log C calls into your code Making it easy to remove Log C calls from your code Other useful Log C functions Multi threaded applications using Log C Why the Log C API is not fully MT safe How to use Log C in an MT safe way Extending Log C with your own custom appender and layout types C Troubleshooting and debugging Deployment Experience with Log C Blame it on the logger Preparing to move logging from development into a production environment References Introduction Log C is a Cbased logging library Its goal is provide the C software developer with a con ?gurable and e ?cient library for logging messages So Log C provides the classic logging functionality required by most projects by default while leaving the scope for extensibility for those projects that have special requirements It seems extraordinary that just about every C project ends up developing it's own logging system While there are environments like embedded systems or operating system kernels that may justify customized logging technology and there are open source projects aimed at those areas there seems to be no a priori reason why most user level application and server software written in C cannot share a logging library Log C may be linked with end user applications or other libraries that will eventually be linked into applications The library is released on SourceForge under the LGPL license This document is aimed at developers who wish to use Log C to manage logging in their own project The kind of information you can ?nd here includes a general introduction to Log C concepts and how Log C can be useful to
Documents similaires
-
29
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Jan 15, 2022
- Catégorie Creative Arts / Ar...
- Langue French
- Taille du fichier 121.2kB