On Tue, Jul 26, 2011 at 4:30 PM, Supun Kamburugamuva <[email protected]>wrote:
> Hi Piyum,
>
> The syntax should be
>
> <log message="string | {expression}"/>
>
I will make the changes soon.
>
> Please have a look at the mediators like send for how this is done.
>
ok Sure.
>
> Thanks,
> Supun..
>
> On Tue, Jul 26, 2011 at 3:43 PM, Piyum Fernando <[email protected]> wrote:
>
>> I made some changes to LogMediator, LogMediatorFactory and
>> LogMediatorSerializer by adding the quick log feature which allows to add
>> quickly log a literal or expression. Patch file is attached.
>>
>> Examples;
>>
>> <log value = 'value' />
>>
>> <log expression = "XPath expression" />
>>
>> <log [(value="literal" | expression="xpath")] [level="string"]
>> [separator="string"]>
>>
>>
>> <property name="string" (value="literal" | expression="xpath")/>*
>> </log>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
>
> --
> Supun Kamburugamuva
> Technical Lead & Product Manager, WSO2 Inc.; http://wso2.com
> Member, Apache Software Foundation; http://www.apache.org
> WSO2 Inc.; http://wso2.org
> E-mail: [email protected]; Mobile: +94 77 431 3585
> Blog: http://supunk.blogspot.com
>
>
>
>