Cflog script equivelent

What is the script equivalent in Lucee?

log() calculates the natural logarithm of a number, so that’s not it.

WriteLog() only works in ACF, at least it doesn’t appear in the Lucee docs.
WriteLog() also does not appear in the list of unsupported functions:

Do folks use FileWriteLine() for this purpose?

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

Do folks use FileWriteLine() for this purpose?
no.

did you try:

 log file="logfile" text="message";

Igal Sapir

Lucee Core Developer
Lucee.org http://lucee.org/On 1/27/2016 8:49 AM, Nando Breiter wrote:

What is the script equivalent in Lucee?

log() calculates the natural logarithm of a number, so that’s not it.

WriteLog() only works in ACF, at least it doesn’t appear in the Lucee
docs. WriteLog() also does not appear in the list of unsupported
functions:

Unsupported Tags & Functions :: Lucee Documentation

Do folks use FileWriteLine() for this purpose?

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

Love Lucee? Become a supporter and be part of the Lucee project today!


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAGHrs%3D9v%3DzFzegiQKfW_bZ%2Bmi_%3DN7-CskQED5zSbAjdrkgHPMg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAGHrs%3D9v%3DzFzegiQKfW_bZ%2Bmi_%3DN7-CskQED5zSbAjdrkgHPMg%40mail.gmail.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

almost all (exception in dump() and a few others).

the idea is simple:

you remove the angle-brackets, remove the “cf” prefix, and terminate
with a semi-colon. if the tag has a body then you use echo() to write
the body, so:

 becomes

abort message=“some error”;

and

SELECT now();

 becomes

query name=“qTime” {

 echo("SELECT now();");

}

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 1/27/2016 11:13 AM, Nando Breiter wrote:

Hi Igal, thanks!

Is that syntax style implemented for all tags in Lucee, or just some
of them?

Kind regards,

Nando

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

On Wed, Jan 27, 2016 at 5:51 PM, Igal @ Lucee.org <@Igal mailto:Igal> wrote:

Do folks use FileWriteLine() for this purpose? 
no.

did you try:

    log file="logfile" text="message";


Igal Sapir

Lucee Core Developer
Lucee.org <http://lucee.org/>

On 1/27/2016 8:49 AM, Nando Breiter wrote:
What is the <cflog> script equivalent in Lucee?

log() calculates the natural logarithm of a number, so that's not it.

WriteLog() only works in ACF, at least it doesn't appear in the
Lucee docs. WriteLog() also does not appear in the list of
unsupported functions:

http://docs.lucee.org/reference/unsupported.html

Do folks use FileWriteLine() for this purpose?

Aria Media Sagl
+41 (0)76 303 4477 <tel:%2B41%20%280%2976%20303%204477> cell
skype: ariamedia
-- 
Love Lucee? Become a supporter and be part of the Lucee project
today! - http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed to the
Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to lucee+unsubscribe@googlegroups.com
<mailto:lucee+unsubscribe@googlegroups.com>.
To post to this group, send email to lucee@googlegroups.com
<mailto:lucee@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAGHrs%3D9v%3DzFzegiQKfW_bZ%2Bmi_%3DN7-CskQED5zSbAjdrkgHPMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
-- 
Love Lucee? Become a supporter and be part of the Lucee project
today! - http://lucee.org/supporters/become-a-supporter.html
---
You received this message because you are subscribed to the Google
Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to lucee+unsubscribe@googlegroups.com
<mailto:lucee+unsubscribe@googlegroups.com>.
To post to this group, send email to lucee@googlegroups.com
<mailto:lucee@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/56A8F58C.5060409%40lucee.org
<https://groups.google.com/d/msgid/lucee/56A8F58C.5060409%40lucee.org?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today!


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAGHrs%3D8VS-pDOcfRZMWxA9C5BU1Zn%2BgWodngd%2BL4V%2BLNaD8R1w%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAGHrs%3D8VS-pDOcfRZMWxA9C5BU1Zn%2BgWodngd%2BL4V%2BLNaD8R1w%40mail.gmail.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Hi Igal, thanks!

Is that syntax style implemented for all tags in Lucee, or just some of
them?

Kind regards,

Nando

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamediaOn Wed, Jan 27, 2016 at 5:51 PM, Igal @ Lucee.org <@Igal> wrote:

Do folks use FileWriteLine() for this purpose?

no.

did you try:

log file="logfile" text="message";

Igal Sapir

Lucee Core Developer
Lucee.org http://lucee.org/
On 1/27/2016 8:49 AM, Nando Breiter wrote:

What is the script equivalent in Lucee?

log() calculates the natural logarithm of a number, so that’s not it.

WriteLog() only works in ACF, at least it doesn’t appear in the Lucee
docs. WriteLog() also does not appear in the list of unsupported functions:

Unsupported Tags & Functions :: Lucee Documentation

Do folks use FileWriteLine() for this purpose?

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAGHrs%3D9v%3DzFzegiQKfW_bZ%2Bmi_%3DN7-CskQED5zSbAjdrkgHPMg%40mail.gmail.com?utm_medium=email&utm_source=footer
https://groups.google.com/d/msgid/lucee/CAGHrs%3D9v%3DzFzegiQKfW_bZ%2Bmi_%3DN7-CskQED5zSbAjdrkgHPMg%40mail.gmail.com
.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/56A8F58C.5060409%40lucee.org
https://groups.google.com/d/msgid/lucee/56A8F58C.5060409%40lucee.org?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Though not in the docs, writeLog does appear to work in Lucee 4.xOn Wednesday, January 27, 2016 at 8:49:43 AM UTC-8, Nando Breiter wrote:

What is the script equivalent in Lucee?

log() calculates the natural logarithm of a number, so that’s not it.

WriteLog() only works in ACF, at least it doesn’t appear in the Lucee
docs. WriteLog() also does not appear in the list of unsupported functions:

Unsupported Tags & Functions :: Lucee Documentation

Do folks use FileWriteLine() for this purpose?

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia