Skip to content

Commit

Permalink
Update logger.debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tombell committed Jan 11, 2013
1 parent 46e6c7b commit 6ee74f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/robot.coffee
Expand Up @@ -84,7 +84,6 @@ class Robot
else
newRegex = new RegExp("^#{@name}[:,]?\\s*(?:#{pattern})", modifiers)

@logger.debug newRegex.toString()
@listeners.push new TextListener(@, newRegex, callback)

# Public: Adds a Listener that triggers when anyone enters the room.
Expand Down Expand Up @@ -152,7 +151,6 @@ class Robot
# Returns nothing.
load: (path) ->
@logger.debug "Loading scripts from #{path}"

Fs.exists path, (exists) =>
if exists
for file in Fs.readdirSync(path)
Expand Down Expand Up @@ -245,7 +243,7 @@ class Robot
#
# Returns nothing.
parseHelp: (path) ->
@logger.debug "parseHelp of #{path}"
@logger.debug "Parsing help for #{path}"
scriptName = Path.basename(path).replace /\.(coffee|js)$/, ''
scriptDocumentation = {}
@documentation[scriptName] = scriptDocumentation
Expand Down

0 comments on commit 6ee74f8

Please sign in to comment.