Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • C ccan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mirror
  • ccan
  • Repository

Switch branch/tag
  • ccan
  • Makefile-ccan
Find file BlameHistoryPermalink
  • Cody P Schafer's avatar
    pr_log: a new module that provides a simple run-time controlled logging interface · 1f7028e9
    Cody P Schafer authored Aug 18, 2015
    
    
    A simple printf logging infra where levels are determined by the
    value of the "DEBUG" environment variable.
    
    This is loosely based on the interfaces & functionality of Linux's
    printk() and pr_*() wrapper macros.
    
    Note that the current implementation uses "<N>" prefixes (where N is a
    syslog level in ascii), allowing other programs that parse log output
    (like systemd's journald) to know what the priority level is.
    Signed-off-by: default avatarCody P Schafer <dev@codyps.com>
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    1f7028e9

Replace Makefile-ccan

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7