Dogger is a Logger alternative that uses database abstraction to store log events. This means that you can use any of the supported backends. It was mainly this logging application that I created DriverScratch – a transient database that deletes itself if not accessed for a while – but you can use any backend you like – a spreadsheet would be good too.
- Setting up your Apps Script Environment for Dogger
- Using a spreadsheet as a logger
- Using cDogger library directly
- Logging multiple or detached processes to the same log
How it works
- A library – cDogger – is provided to create and write log information.
- You create your own library from a template, which references cDogger, and contains your preferences for database backend and secret credentials. Instead of Logger.log() , you use Dogger.log() via this library.
- Optionally, you publish this library as a webapp (again from a template). This allows non-apps script clients (such as the log inspector) to be able to read the log files.
- If you choose to use some database (such as a spreadsheet or Parse.com), you can look at those directly, or plug in the inspector as you prefer.