Skip to content

Commit

Permalink
added debug to split logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilal Al committed May 1, 2024
1 parent db9311a commit 418e5d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/splitclient-rb/split_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ def log_if_transport(message)
def error(message)
@config.logger.error(message)
end

def debug(message)
@config.logger.debug(message) if @config.debug_enabled
end
end
end

0 comments on commit 418e5d7

Please sign in to comment.