如何控制登录couchdb [英] How to console log in couchdb

查看:116
本文介绍了如何控制登录couchdb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我真的很喜欢CouchDB可以做的所有事情。我来自很多前端JavaScript,我使用console.log()进行大量的调试和测试任务。我想知道如何使用console.log或者更好的调试方法可能在CouchDB中。

First off I'm really loving all the things you can do with CouchDB. I'm coming from a lot of front end JavaScript and I use console.log() for lots of debugging and testing tasks. I'm wondering how to console.log or what a better way to debug might be in CouchDB.

任何建议真的很棒!

推荐答案

CouchDB公开 日志用于调试视图的 方法。 (可能它也适用于显示,列表,更新和验证功能)它将输出发送到系统上的 couch.log 文件。

CouchDB exposes a log method for debugging views. (presumably it also works for show, list, update and validation functions too) It sends output to the couch.log file on your system.

这篇关于如何控制登录couchdb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆