public JRubyProfiling(Profiling profiling) {
this.profiling = profiling;
}
public StopWatch start(String domain, String level) {
Level profilingLevel = Level.NONE;
try {
profilingLevel = Level.valueOf(level);
} catch (IllegalArgumentException iae) {
LOG.warn("Unknown profiling level, defaulting to NONE: " + level, iae);
}