_stefanzweifel’s avatar_stefanzweifel’s Twitter Archive—№ 1,757

    1. …in reply to @taylorotwell
      @taylorotwell Hard-coded logs, if statements and Sentry. For long I wanted to create a package to add "canonical logs" to Laravel. Stripe has written a great blog post about them here: stripe.com/blog/canonical-log-lines
  1. …in reply to @_stefanzweifel
    @taylorotwell The package would give you "hooks" to add whatever telemetry data you need to the canonical log. In an After-Middleware the package would then write a single log line with all the important data into a log file or your chosen log driver.