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

version 0.1.1.7: logging #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

version 0.1.1.7: logging #9

wants to merge 1 commit into from

Conversation

maksbotan
Copy link
Contributor

No description provided.

:: LoggerSet -- ^ Target logger
-> Text -- ^ Application name
-> IO Middleware
bcdLogFast ls appName = mkRequestLogger
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может его сделать дефолтным?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Этот PR еще наверное будет пересматриваться и втаскиваться по частям.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

и мы ещё по новому формату ни разу не говорили, если что

type REnv = (Int, LoggerSet)

appName :: Text
appName = "web-template"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это порочно, так как у вас в базе перемешаются логи от всех сервисов

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants