Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/unilogger/src/logger.ts>Logger#error

Logger utility module for Deno
Go to Latest
method Logger.prototype.error
import { Logger } from "https://deno.land/x/unilogger@v1.0.4/src/logger.ts";

Write a message to the console. Prefixed with the log type

Parameters

message: string
  • The message to be logged

Returns

string | void

Return the full logged message.