Logging
The compiler constructor accepts a 3rd argument to define your own logger :
use ScssPhp\ScssPhp\Logger\LoggerInterface; class Logger implements LoggerInterface { public function warn($message, $deprecation = false) { //log a warning here } public function debug($message) { //log a debug message here } } $compiler = new Compiler([ 'publicFolder' => '/absolute/path/to/public/folder' ], [], new Logger);