# Logging

You can know what's happening in your Wolff project using the Logging class.

Just remember to use Core\Log.

Files

The logging files are located by default in the system/logs folder. Every logging file represents a day and contains logs with the following format:

[date] [ip] level: message

Methods

Logging a simple information:

Log::info('Welcome to Wolff.');

Obviously there are different levels for the messages, these are the available:

  • Emergency
  • Alert
  • Critical
  • Error
  • Warning
  • Notice
  • Info
  • Debug

The same example showed above can be applied to these.