Menu

#2782 log: use c++ string for callers instead of const pointers

5.18.04
fixed
nobody
None
enhancement
log
lib
minor
False
2018-02-08
2018-02-08
No

Use c++ strings for callers instead of const pointers to guarantee that the callers never be nullptr.

Related

Wiki: ChangeLog-5.18.04

Discussion

  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-02-08
    • status: assigned --> review
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-02-08
    • summary: log: make the LogClientData and LogStreamInfoData constructors explicit --> log: use c++ string for callers instead of const pointers
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -Make ScopeData::LogClientData  and ScopeData::LogStreamInfoData constructors explicit, and use fix arrray of chars for callers (mainly for debug) instead of constant pointer to `__func__`.
    +Use c++ strings for callers instead of const pointers to guarantee that the callers never be nullptr.
    
    • status: review --> fixed
    • assigned_to: Vu Minh Nguyen --> nobody
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-02-08

    commit 3f5b55e984a04638acfa7ffb6276e8d866830b57 (HEAD, origin/develop, ticket-2782, develop)
    Author: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    Date: Thu Feb 8 22:49:34 2018 +0700

    log: use c++ string for caller instead of const pointer [#2782]
    
    Use c++ strings for callers instead of const pointers to guarantee
    that the callers never be nullptr.
    
     

Log in to post a comment.