Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
48b0c839
Commit
48b0c839
authored
May 09, 2003
by
Nick Mathewson
🐻
Browse files
One is the language; the other is the compiler
svn:r289
parent
0957ffeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/common/log.h
View file @
48b0c839
...
...
@@ -8,6 +8,9 @@
/*
* Changes :
* $Log$
* Revision 1.3 2003/05/09 02:41:27 nickm
* One is the language; the other is the compiler
*
* Revision 1.2 2003/05/09 02:25:37 nickm
* work on versioning; new log_fn function
*
...
...
@@ -39,7 +42,7 @@
/* Outputs a message to stdout and also logs the same message using syslog. */
void
log
(
int
severity
,
const
char
*
format
,
...);
#ifdef __GNUC
C
__
#ifdef __GNUC__
#define log_fn(severity, format, args...) \
log((severity), __PRETTY_FUNCTION__ # "(): " # format, ##args)
#else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment