We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Support multiple log levels
2.0.0-beta21
val fa: F[A] = ... fa.log(a => info(s"Blah blah $a") |+| debug(s"abc: $a")) val fab: F[Either[A, B]] = ... fab.log( err => error(s"Error: $err") |+| warn(s"There must be some issue") |+| debug("Something happened"), b => info(s"Result: $b") |+| debug("All good!") )
val fa: F[A] = ... fa.log(a => multiLogs(info(s"Blah blah $a"), debug(s"abc: $a"))) val fab: F[Either[A, B]] = ... fab.log( err => multiLogs( error(s"Error: $err"), warn(s"There must be some issue"), debug("Something happened") ), b => multiLogs( info(s"Result: $b"), debug("All good!") ) )
The text was updated successfully, but these errors were encountered:
kevin-lee
No branches or pull requests
Summary
Support multiple log levels
Version
2.0.0-beta21
Description
The text was updated successfully, but these errors were encountered: