Skip to content

Commit

Permalink
add inLog alias method
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jun 29, 2016
1 parent 03b0c4a commit 8dfddb7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ActivityLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public function withProperties($properties)

/**
* @param string $key
*
* @param mixed $value
*
* @return $this
Expand All @@ -99,6 +98,11 @@ public function useLog(string $logName)
return $this;
}

public function inLog(string $logName)
{
return $this->useLog($logName);
}

public function log(string $description)
{
$activity = new Activity();
Expand Down

0 comments on commit 8dfddb7

Please sign in to comment.