Subj : Re: Add and object to an array
To   : echicken
From : Mortifis
Date : Thu Jul 18 2019 08:16 pm

>   Re: Re: Add and object to an array
>   By: Mortifis to echicken on Thu Jul 18 2019 18:30:52

>  Mo> I tried a bunch of methods I researched but none of them worked. still
>  Mo> not sure how to get console.log() to work, says undefined.

> console.log() is a thing in web browsers and in node.js, but not in
> Synchronet's JS
> environment.  Some JS examples you see on the web won't transfer perfectly
> into this space.

> We do have the log(level, message) function here:

>   log(LOG_DEBUG, 'This is a debug message');

> or you can omit the loglevel parameter:

>   log('This is a message, probably at the INFO level (?)');

I saw that, I had thought that writes to a file in /sbbs/data/logs/




My teachers always said "You can't make a living looking out a window!", they
were wrong,  I drive truck :-P

---
� Synchronet � AlleyCat! BBS - http://alleycat.synchro.net:81