Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve logging #20

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Commits on May 5, 2017

  1. Add reformat target for consistent code formatting.

    Signed-off-by: Victor Toni <victor.toni@gmail.com>
    ViToni committed May 5, 2017
    Configuration menu
    Copy the full SHA
    d2d0c87 View commit details
    Browse the repository at this point in the history
  2. Reformat code base with clang-format-4.0.

    * To make reformatting reproducible `make reformat` was used.
    
    Signed-off-by: Victor Toni <victor.toni@gmail.com>
    ViToni committed May 5, 2017
    Configuration menu
    Copy the full SHA
    434a986 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2017

  1. Added time indicator when logging to stderr.

    Code provied by Stefan Heck.
    
    Signed-off-by: Victor Toni <victor.toni@gmail.com>
    ViToni committed May 6, 2017
    Configuration menu
    Copy the full SHA
    12a4cf7 View commit details
    Browse the repository at this point in the history
  2. Added new log levels LOG_TRACE, LOG_INIT and handling for them (syslo…

    …g doesn't know about them).
    
    Signed-off-by: Victor Toni <victor.toni@gmail.com>
    ViToni committed May 6, 2017
    Configuration menu
    Copy the full SHA
    aa15d90 View commit details
    Browse the repository at this point in the history
  3. Added support for __FUNCTION__ and __LINE__ logging.

    Signed-off-by: Victor Toni <victor.toni@gmail.com>
    ViToni committed May 6, 2017
    Configuration menu
    Copy the full SHA
    3ad25a0 View commit details
    Browse the repository at this point in the history
  4. Added short circuit log level evaluation to avoid function calls.

    Signed-off-by: Victor Toni <victor.toni@gmail.com>
    ViToni committed May 6, 2017
    Configuration menu
    Copy the full SHA
    7b84a21 View commit details
    Browse the repository at this point in the history