Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5615)

Issue 320790043: Make template classes use NS_LOG_* macros

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years ago by Stefano Avallone
Modified:
6 years, 10 months ago
Reviewers:
Peter Barnes
Visibility:
Public.

Description

Make template classes use NS_LOG_* macros

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -81 lines) Patch
M doc/manual/source/logging.rst View 1 1 chunk +29 lines, -0 lines 0 comments Download
M src/core/model/log.h View 1 2 chunks +41 lines, -1 line 0 comments Download
M src/core/model/log.cc View 2 chunks +18 lines, -0 lines 0 comments Download
M src/network/utils/drop-tail-queue.h View 1 5 chunks +12 lines, -9 lines 0 comments Download
M src/network/utils/drop-tail-queue.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/network/utils/net-device-queue-interface.h View 1 6 chunks +13 lines, -26 lines 0 comments Download
M src/network/utils/net-device-queue-interface.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M src/network/utils/queue.h View 1 13 chunks +18 lines, -33 lines 0 comments Download
M src/network/utils/queue.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M src/wifi/model/wifi-mac-queue.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/wifi/model/wifi-mac-queue.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5
Stefano Avallone
For a description, see: Bug 2668 - NS_LOG can not be used in templates
7 years ago (2017-03-27 15:58:22 UTC) #1
Peter Barnes
I'd like to hid the details in two macros, NS_LOG_TEMPLATE_DECLARE NS_LOG_TEMPLATE_DEFINE(component) This will reduce implementation ...
6 years, 10 months ago (2017-06-01 21:05:26 UTC) #2
Stefano Avallone
https://codereview.appspot.com/320790043/diff/1/src/core/model/log.h File src/core/model/log.h (right): https://codereview.appspot.com/320790043/diff/1/src/core/model/log.h#newcode418 src/core/model/log.h:418: LogComponent & GetLogComponent (const std::string name); NS_LOG_* macros call ...
6 years, 10 months ago (2017-06-05 22:30:55 UTC) #3
Peter Barnes
Very nice. Ok with me to push. Note the latest patch has extraneous stuff from ...
6 years, 10 months ago (2017-06-05 23:03:27 UTC) #4
Stefano Avallone
6 years, 10 months ago (2017-06-06 09:22:43 UTC) #5
On 2017/06/05 23:03:27, Peter Barnes wrote:
> Very nice.  Ok with me to push.

Pushed with changeset 12922:d5736db31887, thanks.

Please note that python bindings need to be re-scanned, but python bindings
generation is broken (at least for me) after applying the patch proposed to fix
bug #2658.
 
> Note the latest patch has extraneous stuff from wifi, I think from your latest
> patch r12921	39d9ce52e1af

Yes, sorry, my Mac doesn't like the upload.py script...

Stefano
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b