1. 09 Aug, 2021 1 commit
  2. 08 Aug, 2021 1 commit
  3. 07 Aug, 2021 3 commits
    • Tim Lieberman's avatar
      03f8b841
    • Tim Lieberman's avatar
      Make wrapped-monolog a thing. · 8a419a5c
      Tim Lieberman authored
      8a419a5c
    • Tim Lieberman's avatar
      Initial pass at just wrapping PSR3. · eae88650
      Tim Lieberman authored
      Back in PHP 7.4 days, when I started this library, I seem to recall this didn't
      work out very well. But I can't recall precisely why, so I'm trying it again,
      because it seems as though we can get much cleaner typing and static analysis,
      and (and because of it being) a much simpler implementation.
      
      While there may be some situations where it would be easier to integrate if your
      StackLogger extended (instead of wrapping) you Logger, supporting that use-case
      is probably not worth it. Outside of a factory, most places that currently call
      for a Monolog\Logger are likely to be mostly only using PSR-3 methods. I will
      need to think more about how people use withName() in monolog, though.
      eae88650
  4. 06 Aug, 2021 3 commits
  5. 05 Aug, 2021 1 commit
  6. 14 Mar, 2021 6 commits
  7. 13 Mar, 2021 9 commits
  8. 10 Mar, 2021 1 commit
    • Tim Lieberman's avatar
      Added `addContext(array $context)`; rename `child()` to `withContext()`: · b27be275
      Tim Lieberman authored
      In some contexts, it just makes more sense to layer context onto an existing
      Logger. The impetus for this change was a desire to decorate the context of a
      Logger in some mezzio HTTP middleware. I wanted to capture some data from the
      request, and attach it to the Logger. The middleware receives the logger via
      constructor-injection from the DIC, and does not pass it on. The middleware
      can't know about the DIC, so this seems to be the best solution, even if it
      makes makes things feel less immutable.
      b27be275
  9. 03 Nov, 2020 2 commits
  10. 14 Oct, 2020 5 commits
  11. 13 Oct, 2020 2 commits
  12. 11 Oct, 2020 2 commits
  13. 10 Oct, 2020 2 commits