Hono on Laravel Cloud

Logs

Write a line here, then compare this page’s output with Application logs.

Every console method is written. Hono has no levelled app logger. debug and info go to stdout. warn and error go to stderr. There is no Cloud logging package on Node.

Write a log


Exceptions

Log a caught exception, or let Hono record an unhandled one. Caught stays on this page. Unhandled returns HTTP 500.


Hono only

hono/logger writes an access line. The form itself calls console.

Cloud’s proxy writes access logs for each request. Those are not in this pane.

Process output

stdout and stderr from this process. Each row is one write, unchanged.

Time Stream Line
02:31:13 stdout
<-- GET /
02:31:13 stdout
--> GET / 200 1ms
02:31:14 stdout
<-- GET /
02:31:14 stdout
--> GET / 200 0ms
02:31:14 stdout
<-- GET /
02:31:14 stdout
--> GET / 200 0ms
02:31:15 stdout
<-- GET /favicon.ico
02:31:15 stdout
--> GET /favicon.ico 404 0ms
02:31:16 stdout
<-- GET /
02:31:16 stdout
--> GET / 200 0ms
02:31:16 stdout
<-- HEAD /favicon.ico
02:31:16 stdout
--> HEAD /favicon.ico 404 0ms
03:10:36 stdout
<-- GET /robots.txt
03:10:36 stdout
--> GET /robots.txt 404 0ms
03:10:37 stdout
<-- GET /