<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/src, branch th/logging</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>core: refactoring logging in NMDevice to prefix each line with identifier</title>
<updated>2014-03-11T18:24:10+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-02-12T22:54:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=f553c61db00adfd2b6939be4a67312c9fa46df3b'/>
<id>f553c61db00adfd2b6939be4a67312c9fa46df3b</id>
<content type='text'>
nm-device.c defines additional macros, to make their usage more
concise.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nm-device.c defines additional macros, to make their usage more
concise.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core/logging: add new logging macros LOG/LOg</title>
<updated>2014-03-11T18:24:10+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-02-12T20:54:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a6bcef41b2d89b73f5043dbac1b2cb3812e80b30'/>
<id>a6bcef41b2d89b73f5043dbac1b2cb3812e80b30</id>
<content type='text'>
Add new macros LOG() and LOg(), to prefix the log line with a pointer value
as identifier. The use of having these macros is that every line gets
a prefix with defined format.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new macros LOG() and LOg(), to prefix the log line with a pointer value
as identifier. The use of having these macros is that every line gets
a prefix with defined format.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core/logging: log lazily only after checking for nm_logging_enabled()</title>
<updated>2014-03-11T18:24:10+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-02-12T10:44:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ffd473d7ce61570aea72d61e02716e519769a396'/>
<id>ffd473d7ce61570aea72d61e02716e519769a396</id>
<content type='text'>
Shaddod _nm_log() by a macro that checks first, whether logging
is enabled. This has the benefit, that the logging arguments don't have
to be evaluated if logging is disabled.

With this change, you must ensure, that calling any logging function
is side-effect-free. For example:
    nm_log_debug ("This is a bug %s, %d", has_side_effect (), ++i);
would be a bug.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Shaddod _nm_log() by a macro that checks first, whether logging
is enabled. This has the benefit, that the logging arguments don't have
to be evaluated if logging is disabled.

With this change, you must ensure, that calling any logging function
is side-effect-free. For example:
    nm_log_debug ("This is a bug %s, %d", has_side_effect (), ++i);
would be a bug.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core/logging: deprecate name nm_log_dbg() in favor of nm_log_debug()</title>
<updated>2014-03-11T18:24:05+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-02-12T13:16:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=748e9572abdc64a69c9bdc615245ff30b60d1e25'/>
<id>748e9572abdc64a69c9bdc615245ff30b60d1e25</id>
<content type='text'>
The macro name should correspond to the log level, which
is named LOGL_DEBUG (and not LOGL_DBG).

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The macro name should correspond to the log level, which
is named LOGL_DEBUG (and not LOGL_DBG).

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core/logging: return static string from nm_logging_domains_to_string()</title>
<updated>2014-03-11T18:22:00+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-02-12T10:30:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=cb168002203af6919eca765eb6333a428e9be534'/>
<id>cb168002203af6919eca765eb6333a428e9be534</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core/logging: return static string from nm_logging_level_to_string()</title>
<updated>2014-03-11T18:22:00+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-02-12T10:17:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=243c564e4e3c3e1b2eaf6c2fab8ecd97a11837ce'/>
<id>243c564e4e3c3e1b2eaf6c2fab8ecd97a11837ce</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core/logging: align logging after "&lt;LEVEL&gt;" prefix</title>
<updated>2014-03-11T18:22:00+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-03-11T18:21:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=0b49de1e5b66e827d5f69e5415f5ba8fc582271c'/>
<id>0b49de1e5b66e827d5f69e5415f5ba8fc582271c</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core/logging: add assert to nm_logging_setup() to check input arguments</title>
<updated>2014-03-11T18:21:53+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-02-12T10:05:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=26ba75a3119d15686f5519dae8d1bab0c8511173'/>
<id>26ba75a3119d15686f5519dae8d1bab0c8511173</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: add helper function NN()</title>
<updated>2014-03-11T18:16:51+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-03-11T17:45:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=104599b123805532e825988e0acb0fa1dc1006a1'/>
<id>104599b123805532e825988e0acb0fa1dc1006a1</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: remove unused #undef from header file</title>
<updated>2014-03-11T18:16:51+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2014-03-11T18:16:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ab3725d77c9469bc001b587277b51b2bf9844b7c'/>
<id>ab3725d77c9469bc001b587277b51b2bf9844b7c</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
