We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44b34c2 commit 7517b82Copy full SHA for 7517b82
src/main/java/org/jruby/rack/ext/Logger.java
@@ -117,6 +117,18 @@ else if ( context instanceof RackContext ) {
117
}
118
119
120
+ @JRubyMethod
121
+ public IRubyObject initialize_copy(final ThreadContext context, final IRubyObject logger) {
122
+ Logger other = (Logger) logger;
123
+
124
+ this.level = other.level;
125
+ this.logger = other.logger;
126
+ this.formatter = other.formatter;
127
+ this.progname = other.progname;
128
129
+ return this;
130
+ }
131
132
@JRubyMethod
133
public IRubyObject real_logger(final ThreadContext context) {
134
return JavaEmbedUtils.javaToRuby(context.runtime, logger);
0 commit comments