Sha256: a0e020d403a52caef2e80682e92cb0c774c4acd7b0f075b34658ac75606bc0dd
Contents?: true
Size: 1.11 KB
Versions: 28
Compression:
Stored size: 1.11 KB
Contents
require 'ext/kernel' require 'ostruct' require 'forwardable' require 'fileutils' require 'neo4j-core/version' require 'neo4j/property_validator' require 'neo4j/property_container' require 'neo4j/entity_marshal' require 'neo4j-core/active_entity' require 'neo4j-core/helpers' require 'neo4j-core/query_find_in_batches' require 'neo4j-core/query' require 'neo4j/entity_equality' require 'neo4j/node' require 'neo4j/label' require 'neo4j/session' require 'neo4j/ansi' require 'neo4j/relationship' require 'neo4j/transaction' require 'rake' require 'neo4j/rake_tasks' require 'logger' module Neo4j module Core ORIGINAL_FORMATTER = ::Logger::Formatter.new def self.logger(stream = STDOUT) @logger ||= Logger.new(stream).tap do |logger| logger.formatter = method(:formatter) end end def self.formatter(severity, datetime, progname, msg) output = '' if Thread.current != Thread.main output += "#{ANSI::YELLOW}Thread: #{Thread.current.object_id}: #{ANSI::CLEAR}" end output += msg ORIGINAL_FORMATTER.call(severity, datetime, progname, output) end end end
Version data entries
28 entries across 28 versions & 1 rubygems