title: Implement custom logging in Loopback 4
body: <p>Can Winston, Pino or Bunyan be used for logging in Loopback4? If so, what would be the basic steps to implement them in Loopback4?</p>
  
  <p>I was able to make Winston work using Express while viewing this tutorial:
  <a href="https://www.digitalocean.com/community/tutorials/how-to-use-winston-to-log-node-js-applications" rel="nofollow noreferrer">https://www.digitalocean.com/community/tutorials/how-to-use-winston-to-log-node-js-applications</a></p>
  
  <p>There are Loopback modules for Winston and Brunyan. However, I get the impression (since last updates are greater than 10 months old) they must be for older versions of Loopback (since v4 came out in Oct 18')?</p>
  
  <p>Winston - <a href="https://www.npmjs.com/package/loopback-component-winston" rel="nofollow noreferrer">https://www.npmjs.com/package/loopback-component-winston</a></p>
  
  <p>Brunyan - <a href="https://www.npmjs.com/package/loopback-component-bunyan" rel="nofollow noreferrer">https://www.npmjs.com/package/loopback-component-bunyan</a></p>