Module: SlackChatter

Defined in:
lib/slack_chatter.rb,
lib/slack_chatter/api/im.rb,
lib/slack_chatter/client.rb,
lib/slack_chatter/api/api.rb,
lib/slack_chatter/api/rtm.rb,
lib/slack_chatter/version.rb,
lib/slack_chatter/api/auth.rb,
lib/slack_chatter/api/base.rb,
lib/slack_chatter/api/chat.rb,
lib/slack_chatter/api/team.rb,
lib/slack_chatter/response.rb,
lib/slack_chatter/api/emoji.rb,
lib/slack_chatter/api/files.rb,
lib/slack_chatter/api/oauth.rb,
lib/slack_chatter/api/stars.rb,
lib/slack_chatter/api/users.rb,
lib/slack_chatter/api/groups.rb,
lib/slack_chatter/api/search.rb,
lib/slack_chatter/api/channels.rb,
lib/slack_chatter/api/namespaces.rb

Defined Under Namespace

Modules: Api Classes: Client, Response

Constant Summary collapse

VERSION =
"0.9.3"

Class Method Summary collapse

Class Method Details

.logger(level = Logger::INFO) ⇒ Object



8
9
10
11
12
# File 'lib/slack_chatter.rb', line 8

def logger(level=Logger::INFO)
  @logger = Logger.new(STDOUT) unless defined?(@logger) and @logger.level != level
  @logger.level = level
  @logger
end