Example: await thing.sendLog('Here', payload)
...and have that log sent to a Slack workspace.
Just super simple logging to speed up dev time, particularly for debugging. It's just a pain to refresh and comb through CloudWatch or other heavy logs.
> I just want to be able to insert a line of code...
In what, exactly? Java? Python? Rust?
Most languages have very simple logging libraries, that will log to a local file. Most also have slack sdk’s. It should be easy enough to marry the two up.
LIBRARY Standard C Library (libc, -lc)
SYNOPSIS
#include void
syslog(int priority, const char *message, ...);