<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<br>
<blockquote type="cite" cite="mid:1988255336.2809135.1690211335887.JavaMail.zimbra@univ-eiffel.fr">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div data-marker="__QUOTED_TEXT__">
<blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
logger.info(LogMsg msg)<br>
<br>
Then you have a free choice over where to put the validation
(in LOG, or in the logger.) </blockquote>
<div><br>
</div>
<div>If the validation is in LOG, it means you can bypass the
validation.<br data-mce-bogus="1">
</div>
</div>
</div>
</blockquote>
<br>
No it doesn't; you can control (e.g. via sealing) the creation of
LogMsg. Of course, you can write an API that lets people bypass
validation, but I'm assuming we're not doing deliberately silly
things.<br>
<br>
<blockquote type="cite" cite="mid:1988255336.2809135.1690211335887.JavaMail.zimbra@univ-eiffel.fr">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div data-marker="__QUOTED_TEXT__">
<div>And If the validation is in logger, then LogMsg really
looks like the same abstraction as StringTemplate.<br data-mce-bogus="1">
</div>
</div>
</div>
</blockquote>
<br>
It depends what you actually want to do. LogMsg could incorporate
localization, automatic timestamping, etc. But yes, if all you want
is deferral, then<br>
<br>
log.info(RAW."...")<br>
<br>
will get you deferral without writing a processor.<br>
<br>
<br>
</body>
</html>