Skip to content

Commit

Permalink
Merge pull request #4 from sivsushruth/master
Browse files Browse the repository at this point in the history
Allow phoenix logs
  • Loading branch information
craigp committed Aug 9, 2017
2 parents ac2a6f5 + 072533d commit 537aee5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/slack_logger_backend/logger.ex
Expand Up @@ -74,6 +74,10 @@ defmodule SlackLoggerBackend.Logger do
|> send_event
end

defp handle_event(level, message, [pid: pid, request_id: _request_id, application: application, module: module, function: function, file: file, line: line]) do
handle_event(level, message, [pid: pid, application: application, module: module, function: function, file: file, line: line])
end

defp handle_event(level, message, [pid: _, module: module, function: function, file: file, line: line]) do
{level, message, module, function, file, line}
|> send_event
Expand Down

0 comments on commit 537aee5

Please sign in to comment.