Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Logger.prototype.constructFullLogMessage
import { Logger } from "https://deno.land/x/unilogger@v1.1.0/src/logger.ts";

Constructs the end message that will be used to log out, using the message and log type

Parameters

message: string
  • The message you wish you log
logType: LogTypes
  • The log type.
params: unknown[]

Returns

string

The constructed message, such as [FATAL] this is my message, where "[FATAL]" has a red background