Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative : Alternative io log4s proposal #33

Merged
merged 8 commits into from
May 30, 2018

Commits on May 27, 2018

  1. Integrate iolog4s macro implementation in slf4j module

    The log4cats-slf4j module now uses the macro based implementation from
    iolog4s: https://iolog4s.github.io/iolog4s/
    
    This one is essentially identical to the log4s approach, but macros
    generate code that wrap statements in F.delay when appropriate.
    lorandszakacs committed May 27, 2018
    Configuration menu
    Copy the full SHA
    1fef04e View commit details
    Browse the repository at this point in the history
  2. Make Slf4jLogger no longer crash when its used with the Logger[F] type

    This solution fixes a problem in the previous commit where the program would
    crash with ??? when the logger was being referenced from the `Logger[F]` interface.
    
    What this implementation effectively achives is that when the user uses the the the
    slf4j backend wrapper via the subtype io.chrisdavenport.log4cats.slf4j.Slf4jLogger
    then they get macro-based optimizations like you see in iolog4s. But when they switch
    to the abstract algebra of `Logger[F]` then they lose this macro-based optimization
    and they get something that is equivalent to the old log4cats wrapper.
    lorandszakacs committed May 27, 2018
    Configuration menu
    Copy the full SHA
    3dae97b View commit details
    Browse the repository at this point in the history

Commits on May 29, 2018

  1. Configuration menu
    Copy the full SHA
    b34dfa0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    287a687 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    955d1de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b8367a3 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. Configuration menu
    Copy the full SHA
    c50d146 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    586c37b View commit details
    Browse the repository at this point in the history