pxLogMessage

How do you use pxLogMessage to log out the content of a page (-ie- xml). When i use it it truncates it as follows:

 <?xml version="1.0"?>  

@TerranceK5260

Here’s the syntax:

@Default.pxLogMessage(“your message”,‘level’)

level: d,i,f,w,e

Eg: @Default.pxLogMessage(“Hello Testing”,‘f’)

Note that the log level parameter is a character and should be in single quote.

@SohamM95 Yes but when i log the contents of a page in the form of Xml or JSON it gets truncated in the log file.