lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The input is:
logger:info("Case: (Flow_Entry=Nil and direction=SERVER_TO_CLIENT): \
Wrong packet received. Flow_entry not there for flow and packet received from \
server.")

In mails, it might appear that I have missed one \ in line 2, but its not the case. Only server.") is on the third line.
On Thu, Feb 9, 2012 at 2:39 PM, rahul sharma <rahulatgslab@gmail.com> wrote:
Hi,

I am facing problems in following 80 columns format in lua. I tried to add "\\n" to break the line but its not working.
Usually we add \ and then \n to break the line into two parts, but in Lua, this standard doesn't work by default. Can you help me in getting some way using which I can do this?

logger:info("Case: (Flow_Entry=Nil and direction=SERVER_TO_CLIENT): \
Wrong packet received. Flow_entry not there for flow and packet received from \
server.")

The above written fxn is in lua, but it doesn't print the message in one line.

Regards
Rahul