i'm working on rails 4 project, , can't seem make show in development log when call rails.logger.debug "test" i've tried searching online feel haven't made progress. how go setting logger , telling write in development log file?
any appreciated.
i think should use in method. checkout section 2.3 here
def your_method logger.debug "this debug" logger.info "this info" end
Comments
Post a Comment