summaryrefslogtreecommitdiff
path: root/ext/http/00_serve.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/http/00_serve.ts')
-rw-r--r--ext/http/00_serve.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/http/00_serve.ts b/ext/http/00_serve.ts
index a49ab2790..87798656f 100644
--- a/ext/http/00_serve.ts
+++ b/ext/http/00_serve.ts
@@ -646,7 +646,7 @@ function serve(arg1, arg2) {
options.onListen(listener.addr);
} else {
// deno-lint-ignore no-console
- console.log(`Listening on ${path}`);
+ console.error(`Listening on ${path}`);
}
});
}
@@ -695,7 +695,7 @@ function serve(arg1, arg2) {
const host = formatHostName(addr.hostname);
// deno-lint-ignore no-console
- console.log(`Listening on ${scheme}${host}:${addr.port}/`);
+ console.error(`Listening on ${scheme}${host}:${addr.port}/`);
}
};
@@ -871,7 +871,7 @@ function registerDeclarativeServer(exports) {
const host = formatHostName(hostname);
// deno-lint-ignore no-console
- console.debug(
+ console.error(
`%cdeno serve%c: Listening on %chttp://${host}:${port}/%c${nThreads}`,
"color: green",
"color: inherit",