Skip to content

v5: http logger #1500

Answered by popovicieduard
adufr asked this question in Help
Aug 21, 2020 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

I think you can add a .ts file inside /start and preload it inside .adonisrc.json

  "preloads": [
    "./start/routes",
    "./start/kernel",
    "./start/events",
    "./start/validationRules",
    "./start/yourfile"
  ],

Don't know if you can pass ctx inside preloads files

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@adufr
Comment options

@skrenek
Comment options

@popovicieduard
Comment options

@adufr
Comment options

@skrenek
Comment options

Answer selected by adufr
Comment options

You must be logged in to vote
1 reply
@adufr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants