$this->append($root, $scssCache->getCachedSCSS(), $webRoot, false);
return true;
} else {
- $this->logger->error('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'SCSSPHP']);
+ $this->logger->error('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'server']);
return false;
}
}
try {
$compiledScss = $scss->compile('@import "'.$this->fileNameSCSS.'";');
} catch(ParserException $e) {
- $this->logger->error($e, ['app' => 'SCSSPHP']);
+ $this->logger->error($e, ['app' => 'server']);
return false;
}
try {
$cachedfile->putContent($this->rebaseUrls($compiledScss));
- $this->logger->debug($this->rootCssLoc.'/'.$this->fileNameSCSS.' compiled and successfully cached', ['app' => 'SCSSPHP']);
+ $this->logger->debug($this->rootCssLoc.'/'.$this->fileNameSCSS.' compiled and successfully cached', ['app' => 'server']);
return true;
} catch(NotFoundException $e) {
return false;