mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[4081] Boilerplate logger added.
This commit is contained in:
@@ -18,9 +18,18 @@ libkea_eval_la_LDFLAGS += $(CRYPTO_LDFLAGS)
|
|||||||
EXTRA_DIST = eval.dox
|
EXTRA_DIST = eval.dox
|
||||||
|
|
||||||
# Define rule to build logging source files from message file
|
# Define rule to build logging source files from message file
|
||||||
expr_messages.h expr_messages.cc: s-messages
|
eval_messages.h eval_messages.cc: s-messages
|
||||||
|
|
||||||
s-messages: expr_messages.mes
|
s-messages: eval_messages.mes
|
||||||
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/expr/expr_messages.mes
|
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/eval/eval_messages.mes
|
||||||
|
|
||||||
|
# Tell Automake that the eval_messages.{cc,h} source files are created in the
|
||||||
|
# build process, so it must create these before doing anything else. Although
|
||||||
|
# they are a dependency of the library (so will be created from the
|
||||||
|
# message file anyway), there is no guarantee as to exactly _when_ in the build
|
||||||
|
# they will be created. As the .h file is included in other sources file (so
|
||||||
|
# must be present when they are compiled), the safest option is to create it
|
||||||
|
# first.
|
||||||
|
BUILT_SOURCES = eval_messages.h eval_messages.cc
|
||||||
|
|
||||||
CLEANFILES = expr_messages.h expr_messages.cc
|
CLEANFILES = expr_messages.h expr_messages.cc
|
||||||
|
20
src/lib/eval/eval_messages.mes
Normal file
20
src/lib/eval/eval_messages.mes
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||||
|
#
|
||||||
|
# Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
|
# copyright notice and this permission notice appear in all copies.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||||
|
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
|
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||||
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
$NAMESPACE isc::dhcp
|
||||||
|
|
||||||
|
% EVAL_RESULT Expression %1 evaluated to %2
|
||||||
|
This debug message indicates that the expression has been evaluated
|
||||||
|
to said value. This message is mostly useful during debugging of the
|
||||||
|
client classification expressions.
|
Reference in New Issue
Block a user