Closed margueritepd closed 8 years ago
Otherwise, the log level does not persist.
For example,
Blender::Log.level = data['log_level'].to_sym if data['log_level'] Blender::Log.init(data['log_file']) if data['log_file'] Blender::Log.debug('hi')
^ this will not print 'hi' to the log file, however this will:
Blender::Log.init(data['log_file']) if data['log_file'] Blender::Log.level = data['log_level'].to_sym if data['log_level'] Blender::Log.debug('hi')
:sweet_potato: thank you
Otherwise, the log level does not persist.
For example,
^ this will not print 'hi' to the log file, however this will: