1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Macro BOOST_LOG_FUNC</title> 5<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="Chapter 1. Boost.Log v2"> 8<link rel="up" href="attributes.html#header.boost.log.attributes.named_scope_hpp" title="Header <boost/log/attributes/named_scope.hpp>"> 9<link rel="prev" href="BOOST_LOG_FUNCTION.html" title="Macro BOOST_LOG_FUNCTION"> 10<link rel="next" href="boost/log/add_scop_idm46079579112112.html" title="Function template add_scoped_logger_attribute"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td></tr></table> 14<hr> 15<div class="spirit-nav"> 16<a accesskey="p" href="BOOST_LOG_FUNCTION.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="attributes.html#header.boost.log.attributes.named_scope_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost/log/add_scop_idm46079579112112.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 17</div> 18<div class="refentry"> 19<a name="BOOST_LOG_FUNC"></a><div class="titlepage"></div> 20<div class="refnamediv"> 21<h2><span class="refentrytitle">Macro BOOST_LOG_FUNC</span></h2> 22<p>BOOST_LOG_FUNC</p> 23</div> 24<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> 25<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="attributes.html#header.boost.log.attributes.named_scope_hpp" title="Header <boost/log/attributes/named_scope.hpp>">boost/log/attributes/named_scope.hpp</a>> 26 27</span>BOOST_LOG_FUNC()</pre></div> 28<div class="refsect1"> 29<a name="idm44984881460688"></a><h2>Description</h2> 30<p>Macro for function scope markup. The scope name is constructed with help of compiler and contains the current function name. It may be shorter than what <code class="computeroutput">BOOST_LOG_FUNCTION</code> macro produces. The scope name is pushed to the end of the current thread scope list.</p> 31<p>Not all compilers have support for this macro. The exact form of the scope name may vary from one compiler to another. </p> 32</div> 33</div> 34<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 35<td align="left"></td> 36<td align="right"><div class="copyright-footer">Copyright © 2007-2019 Andrey Semashev<p> 37 Distributed under the Boost Software License, Version 1.0. (See accompanying 38 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>). 39 </p> 40</div></td> 41</tr></table> 42<hr> 43<div class="spirit-nav"> 44<a accesskey="p" href="BOOST_LOG_FUNCTION.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="attributes.html#header.boost.log.attributes.named_scope_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost/log/add_scop_idm46079579112112.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 45</div> 46</body> 47</html> 48