cherry 2023-10-03

before i go ahead and push one up, there’s no standardish cherry-compatible logging library that anyone knows of, right? i put a little wrapper around log4js that allows for things like (log/warn "msg") to console etc

@wcohen no, cherry doesn't ship with a logging lib, just use one from NPM I'd say

closure library defeated me — i couldn’t get the goog.require to actually load up, in the end

Not surprising, cherry doesn’t have any of the goog namespaces since it doesn’t use the Google Closure Compiler

i added google-closure-library as a dep, ignoring the closure compiler, but whatever the library does to get the requires to actually load up the modules is something different — i didn’t realize it needed the compiler, but it does make sense

I don’t know that it does, but I wouldn’t be surprised if it was all entangled somehow

Isn’t console.log/warn/error standard in js? Cherry should have access to that via interop

☝️ 1

maybe! i thought it might be helpful to have things like debug and trace — i thought that was a battery that never made it into standard

Seems to be in all browsers and node

awesome. thanks. i’m still new to js land compared to jvm