Add some logging related stubs to express backend

This commit is contained in:
2026-01-01 20:18:37 -06:00
parent b0ee53f7d5
commit bee6938a67
2 changed files with 11 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
// internal-logging.ts
import { cli } from "./cli";
// FIXME: Move this to somewhere more appropriate
type AtLeastOne<T> = [T, ...T[]];
@@ -32,6 +34,9 @@ type FilterArgument = {
const log = (_message: Message) => {
// WRITEME
console.log(
`will POST a message to ${cli.logAddress.host}:${cli.logAddress.port}`,
);
};
const getLogs = (filter: FilterArgument) => {