How to use the @adonisjs/sink.Logger function in @adonisjs/sink

To help you get started, we’ve selected a few @adonisjs/sink examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github adonisjs / adonis-framework / test / unit / server.spec.js View on Github external
group.beforeEach(() => {
    this.exception = Exception
    this.server = new Server(Context, Route, new Logger(), this.exception)
    this.server.bindExceptionHandler()

    ioc.fake('Adonis/Exceptions/BaseExceptionHandler', () => {
      return new BaseExceptionHandler()
    })
  })
github adonisjs / adonis-framework / test / unit / static.spec.js View on Github external
group.beforeEach(() => {
    this.exception = Exception
    this.server = new Server(Context, Route, new Logger(), this.exception, new Helpers(path.join(__dirname, 'app')))
    this.server.bindExceptionHandler()
  })