PHP Classes

File: examples/03-logging.md

Recommend this page to a friend!
  Packages of Max   Fenrir   examples/03-logging.md   Download  
File: examples/03-logging.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Fenrir
Use Discord services using the Web services API
Author: By
Last change:
Date: 4 months ago
Size: 370 bytes
 

 

Contents

Class file image Download

Logging

Sometimes it may be useful to inspect what Fenrir is doing in the background. For this you can pass a PSR-3 compatible logger. The one used in this example, is a Monolog logger.

This logging will contain HTTP requests being made and all packets sent to and from Discords Gateway.