Skip to main content

Introduction

Logging is essential for any application, it helps you to track the application behavior and to debug issues.

Warlock is shipped with Mongez Logger a powerful logger package that provides a simple way to log messages.

Configuring the logger

The idea is simple, just use your desired channel and set the configurations for it.

For configurations, please check the configurations section.

Enable logging

By default logging is enabled in the application, you can control this behavior by setting the enabled property in the logger configurations.