Exemple #1
0
<p>
Single header only, extremely light-weight high performance logging library for C++11 (or higher) applications.<br/>For lower version of C++ (non-C++11), please consider using <a href='https://github.com/easylogging/easyloggingpp/tree/v8.91' target='_blank'>Easylogging++ v8.91</a>.
</p><p>
The strengths of Easylogging++ are its speed and simplicity. It is extremely light-weight, robust, fast performing, thread and type safe and consists of many built-in features. It fits in small to medium sized projects, it provides ability to write logs in your own customized format and also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
</p>
<p>
You may wish to have a look at <a href='http://easylogging.org/sample.log'>sample log file</a> generated from a project.
</p>
<table width="100%">
<tr>
<td width="50%">
    <?php 
require_once "tools/syntax_highlighter/cppToHtmlSyntaxHighlighter.php";
$codeBlock = "[cpp_code_no_line]:Simple Example;\n    #include \"easylogging++.h\"\n\n    INITIALIZE_EASYLOGGINGPP\n\n    int main(int argc, const char** argv) {\n        LOG(INFO) << \"Hello, world\";\n        return 0;\n    }[/cpp_code]";
$highlighter = new Highlighter();
$htmlCppCode = $highlighter->findCppCodeInHtmlBlock($codeBlock);
print $htmlCppCode;
?>
</td>
<td width="50%">
    <a href='https://github.com/easylogging/easyloggingpp/releases/latest' class='big-link'><img src='/images/download.png' />&nbsp;Download Easylogging++</a><br/>
    <a href='/release-notes-latest.txt?v=<?php 
print $currentVersion;
?>
' class='big-link'><img src='/images/notes.png' />&nbsp;Release Notes</a><br/>
    <a href='https://github.com/easylogging/easyloggingpp/blob/master/README.md' class='big-link'><img src='/images/help.png' />&nbsp;Manual</a><br/>
    <a href='https://github.com/easylogging/easyloggingpp' class='big-link'><img src='/images/github.png' />&nbsp;Source @ Github</a><br/>
    <a href='https://github.com/easylogging/easyloggingpp/tree/master/samples' class='big-link'><img src='/images/sample.png' />&nbsp;Samples</a><br/>
</td>
</tr>
<tr>