Class: Ghost::Seeder::Logger
- Inherits:
-
Object
- Object
- Ghost::Seeder::Logger
- Defined in:
- lib/ghost/seeder/logger.rb
Constant Summary collapse
- COLORS =
{ info: :white, warn: :yellow, success: :green }
Class Method Summary collapse
Class Method Details
.log(*args) ⇒ Object
28 29 30 |
# File 'lib/ghost/seeder/logger.rb', line 28 def log(*args) puts "[#{Time.now}] #{args.join(" ")}" end |