<?xml version="1.0" encoding="windows-1252"?>
<node id="1000106" title="Re^2: Core module: Attribute::Handlers behaviour" created="2012-10-20 02:52:24" updated="2012-10-20 02:52:24">
<type id="11">
note</type>
<author id="1000094">
enigma</author>
<data>
<field name="doctext">
&lt;p&gt;Thanks for quick response.&lt;/p&gt;&lt;p&gt;In my openion &lt;code&gt;use constant;&lt;/code&gt; is a good solution for debug/info/error msgs. But if we are talking about tracing ...&lt;/p&gt;
&lt;p&gt;it is like in log file ... &lt;/p&gt;
&lt;code&gt;
[&lt;date_time&gt;] TRACE: entering sub for ...
[&lt;date_time&gt;] TRACE: parameters passed ...
[&lt;date_time&gt;] TRACE: exiting sub for ...
&lt;/code&gt;
&lt;p&gt;as core module add attribute features during compilation only, there is less performance issue...less cluttering in your code. as compared to explicitly writing entry/exit for each module.&lt;/p&gt;
</field>
<field name="root_node">
1000101</field>
<field name="parent_node">
1000104</field>
</data>
</node>
