Skip to content

Commit

Permalink
Component: Include LogTrait to allow calling log() as in 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
rchavik committed Jun 25, 2014
1 parent d25b6c5 commit 7dd997d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controller/Component.php
Expand Up @@ -16,6 +16,7 @@

use Cake\Core\InstanceConfigTrait;
use Cake\Event\EventListener;
use Cake\Log\LogTrait;

/**
* Base class for an individual Component. Components provide reusable bits of
Expand Down Expand Up @@ -63,6 +64,7 @@
class Component implements EventListener {

use InstanceConfigTrait;
use LogTrait;

/**
* Component registry class used to lazy load components.
Expand Down

0 comments on commit 7dd997d

Please sign in to comment.