LilyBin / LilyBin

Web-based LilyPond editor.
http://lilybin.com
MIT License
206 stars 27 forks source link

Log events #38

Open trevordixon opened 9 years ago

trevordixon commented 9 years ago

It would be nice to know how many scores get compiled and how much time and memory is spent compiling. We ought to log more in general.

scottlinux commented 9 years ago

Could any various node logging type things work to facilitate this?

TimothyGu commented 9 years ago

Knowing how much memory is spent looks doable, but if we are really to start implementing this, timing and numbering compilations are easier.

This leaves the question of how. Would you guys prefer storing it in a separate database? Using some other services like Google Analytics or Amazon Cloudwatch? Or simply writing to a CSV file with data points like "unix timestamp,time in seconds"?

Could any various node logging type things work to facilitate this?

If you meant console.*, no. They are just prettier names for process.stdout.write and process.stderr.write.