Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/drash/src/standard/log/AbstractLogger.ts>AbstractLogger#getMessagePrefix

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
Latest
method AbstractLogger.prototype.getMessagePrefix
import { AbstractLogger } from "https://deno.land/x/drash@v3.0.0-beta.2/src/standard/log/AbstractLogger.ts";

Get the prefix to write before the log message.

Parameters

messageLevel: string

The message's level to write as part of the prefix.

Returns

string

The prefix: [this.name] [messageLevel]