]> git.kaiwu.me - haproxy.git/commit
CLEANUP: lua: Merge log functions
authorThierry FOURNIER <tfournier@arpalert.org>
Fri, 11 Sep 2015 17:15:43 +0000 (19:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Sep 2015 18:58:04 +0000 (20:58 +0200)
commit23bc375c5909c7f4d6fc78314e19180d1e1de169
treee1a3809361c2d335da746d4b6706f75383648801
parent007ff4ce0f87036dec2455995a1a14c8bf5214cd
CLEANUP: lua: Merge log functions

All the code which emits error log have the same pattern. Its:
Send log with syslog system, and if it is allowed, display error
log on screen.

This patch replace this pattern by a macro. This reduces the number
of lines.
src/hlua.c