This version is outdated. You should upgrade your project to Mako 11.4!	
Getting started
Routing and controllers
Command line
Databases (SQL)
Databases (NoSQL)
Security
Packages
Learn more
- Array helper
 - Caching
 - Collections
 - Command bus
 - Date and time
 - Events
 - File system
 - HTML helper
 - Humanizer
 - Image manipulation
 - Internationalization
 - Logging
 - Number helper
 - Pagination
 - Retry helper
 - Sessions
 - String helper
 - URL builder
 - UUID helper
 - Validation
 - Views
 
Official packages
Logging
Mako uses the Monolog library for logging.
Basics
The debug method is used to log debug data.
$this->logger->debug('foobar');
The info method is used to log interesting events.
$this->logger->info('foobar');
The notice method is used to log normal but significant events.
$this->logger->notice('foobar');
The warning method is used to log exceptional occurrences that are not errors.
$this->logger->warning('foobar');
The error method is used to log runtime errors that do not require immediate action but should typically be logged and monitored.
$this->logger->error('foobar');
The critical method is used log to critical conditions.
$this->logger->critical('foobar');
The alert method is used to log events where action must be taken immediately.
$this->logger->alert('foobar');
The emergency method is used to log events where the system is unusable.
$this->logger->alert('foobar');
Advanced usage
Check out the Monolog documentation for the full documentation of the library.