Module: Gitlab::BitbucketImport::Loggable

Included in:
Importers::IssueImporter, Importers::PullRequestImporter, Importers::RepositoryImporter, ParallelScheduling
Defined in:
lib/gitlab/bitbucket_import/loggable.rb

Instance Method Summary collapse

Instance Method Details

#log_debug(messages) ⇒ Object



6
7
8
# File 'lib/gitlab/bitbucket_import/loggable.rb', line 6

def log_debug(messages)
  logger.debug(log_data(messages))
end

#log_error(messages) ⇒ Object



18
19
20
# File 'lib/gitlab/bitbucket_import/loggable.rb', line 18

def log_error(messages)
  logger.error(log_data(messages))
end

#log_info(messages) ⇒ Object



10
11
12
# File 'lib/gitlab/bitbucket_import/loggable.rb', line 10

def log_info(messages)
  logger.info(log_data(messages))
end

#log_warn(messages) ⇒ Object



14
15
16
# File 'lib/gitlab/bitbucket_import/loggable.rb', line 14

def log_warn(messages)
  logger.warn(log_data(messages))
end