Project

General

Profile

Actions

Action Item #510

closed

Add function[file:line] to prefix in pncLogger()

Added by Hammel almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
Libraries
Target version:
Start date:
15 Mar 2016
Due date:
% Done:

90%

Estimated time:
Severity:
01 - Critical

Description

This can be done in libpibox by

  1. changing pncLogger() to _pncLogger()
  2. Adding const char*, const char *, int to the front of the args to _pncLogger()
  3. Adding a macro pncLogger() that wraps _pncLogger()
  4. Placing the gcc preprocessor defines FUNCTION, FILE and LINE in for the new args to _pncLogger()

Then apps just need to be recompiled with the updated library to use this.

Actions

Also available in: Atom PDF