This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id 0 | |
| epd rnbqkbnr/pppp3p/8/5pp1/P3p1P1/2PQ4/1P1PPP1P/RNB1KBNR b KQkq - 1 5 +0+0 | |
| 4 30 | |
| 4 912 | |
| 4 25472 | |
| 4 766101 | |
| id 1 | |
| epd r1bqkbnr/npppp1pp/p7/5p2/8/1P5N/P1PPPPPP/RNBQKBR1 b Qkq - 0 5 +0+0 | |
| 4 20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id 0 | |
| epd rnbqkbnr/pB2p1pp/3p4/2p2p2/8/6P1/PPPPPP1P/RNBQK1NR w KQkq - 0 4 +0+0 | |
| 2 28 | |
| 2 682 | |
| id 1 | |
| epd rnbqkbr1/ppp1pppp/3p1n2/8/3P4/2N3P1/PPP1PP1P/R1BQKBNR w KQq - 1 4 +0+0 | |
| 2 30 | |
| 2 863 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <configuration> | |
| <appender name="CONSOLE" | |
| class="ch.qos.logback.core.ConsoleAppender"> | |
| <layout class="ch.qos.logback.classic.PatternLayout"> | |
| <Pattern>%X{traceId} %X{spanId} - %m%n</Pattern> | |
| </layout> | |
| </appender> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object HttpRoutesLogger { | |
| import cats.data.{Kleisli, OptionT} | |
| import cats.syntax.all.* | |
| import org.http4s.internal.Logger as Http4sLogger | |
| import org.http4s.{HttpRoutes, Request, Response} | |
| import org.typelevel.log4cats.Logger | |
| def isResponseError[F[_]](res: Response[F]): Boolean = | |
| !res.status.isSuccess |
OlderNewer