Skip to content

Commit 00b6e74

Browse files
author
vaibhav
committed
Added function to log APIs
2 parents df1a035 + 8512125 commit 00b6e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Logging.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ public function publishMessage($message_details, $queueName)
187187
}
188188

189189
/**
190-
* Send an api log
190+
* Send an api log
191191
*
192192
* @param array $message The log message
193193
* @param array $data Additional data
194194
*/
195-
public function info($message, array $data = [])
195+
public function api($message, array $data = [])
196196
{
197197
$this->log('api', $message, $data);
198198
}

0 commit comments

Comments
 (0)