Closed hiiloveyou closed 5 years ago
the log() can just use in API, when the log function can use in json? I need to recording the logs when I use the json method not the API method,thank you final HttpServer server = httpServer(log("path/to/log.log"));
final HttpServer server = httpServer(log("path/to/log.log"));
Log is enable by default for standalone Moco, so you can simply redirect stdout to a file.
the log() can just use in API, when the log function can use in json? I need to recording the logs when I use the json method not the API method,thank you
final HttpServer server = httpServer(log("path/to/log.log"));