lib/sample.rb in RTALogger-2.1.2 vs lib/sample.rb in RTALogger-2.2.0
- old
+ new
@@ -1,6 +1,15 @@
require_relative 'log_factory_manager'
require_relative 'log_factory_repository'
+# require_relative 'string'
+
+# puts 'trace'.gray
+# puts 'debug'.green
+# puts 'info'
+# puts 'warning'.brown
+# puts 'error'.red
+# puts 'fatal'.bg_red
+# puts 'unknown'.bg_cyan
controller_name = 'test_controller'
userID = 5
# RTALogger::LogFactory.register_log_repository :console, 'log_repository_console.rb'