Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SeFHT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
SeFHT
Commits
252f968f
Commit
252f968f
authored
2 years ago
by
Jonathan Schöbel
Browse files
Options
Downloads
Patches
Plain Diff
mapped Log::error to printf
It is useful for debugging to actually see the error messages.
parent
9479a0d6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/log.h
+6
-4
6 additions, 4 deletions
src/log.h
with
6 additions
and
4 deletions
src/log.h
+
6
−
4
View file @
252f968f
...
...
@@ -25,10 +25,12 @@
#ifndef _LOG_H
#define _LOG_H
#include
<stdio.h>
#define ERROR1(message)
#define ERROR2(message, arg1)
#define ERROR3(message, arg1, arg2)
#define ERROR4(message, arg1, arg2, arg3)
#define ERROR1(message) printf (message)
#define ERROR2(message, arg1) printf (message, arg1)
#define ERROR3(message, arg1, arg2) printf (message, arg1, arg2)
#define ERROR4(message, arg1, arg2, arg3) printf (message, arg1, arg2, arg3)
#endif
/* _LOG_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment