Skip to content

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.

4 participants