Why not make it a proper library? Because to make it a drop-in replacement, needs to have access to global scope, which a library doesn’t.
The V8 runtime changes how the Logger
class works, which has shown much slower load times for simple Logging statements. This snippet writes all Logger.log
calls to a spreadsheet when invoked, greatly speeding up development time.
Drop-in replacement for Logger.log, because outputting to a spreadsheet is way faster.
Sure could make additional improvements, but this is good enough for me for now.
(Already enjoying the boost in productivity.)https://t.co/cnXLiRjGgd#GSuiteDevs
— Classroom Tech Tools (@clssrmtechtools) February 19, 2020
Source: classroomtechtools/modularLibrariesV8
I’m a public school teacher writing Apps Script projects to manage documentation and to make life easier in general. You can read more on my blog, blog.ohheybrian.com or follow me on Twitter, @bennettscience.