Skip to content
Snippets Groups Projects
Forked from The Tor Project / Core / Tor
Source project has a limited visibility.
  • Nick Mathewson's avatar
    a141430e
    Rename log() to tor_log() for logging · a141430e
    Nick Mathewson authored
    This is meant to avoid conflict with the built-in log() function in
    math.h.  It resolves ticket 7599.  First reported by dhill.
    
    This was generated with the following perl script:
    
     #!/usr/bin/perl -w -i -p
    
     s/\blog\(LOG_(ERR|WARN|NOTICE|INFO|DEBUG)\s*,\s*/log_\L$1\(/g;
    
     s/\blog\(/tor_log\(/g;
    a141430e
    History
    Rename log() to tor_log() for logging
    Nick Mathewson authored
    This is meant to avoid conflict with the built-in log() function in
    math.h.  It resolves ticket 7599.  First reported by dhill.
    
    This was generated with the following perl script:
    
     #!/usr/bin/perl -w -i -p
    
     s/\blog\(LOG_(ERR|WARN|NOTICE|INFO|DEBUG)\s*,\s*/log_\L$1\(/g;
    
     s/\blog\(/tor_log\(/g;