@deep/nest-kit
    Preparing search index...

    Interface CreatePrettyMessageOptions

    Options for nest-like formatting

    interface CreatePrettyMessageOptions {
        action?: string;
        appName: string;
        childError?: DestructuredError;
        context: Record<string, unknown>;
        deep?: number;
        errorKey?: string;
        level: "verbose" | "debug" | "error" | "warn" | "log" | "fatal";
        message: string;
        parentPath?: string;
        scope?: string;
        stack?: string;
        statusCode?: string;
        timestamp: string;
    }
    Index

    Properties

    action?: string

    Action where the message was logged

    'createOutput'
    
    appName: string

    Application name

    'Jetstream'
    
    childError?: DestructuredError

    Child error. Print it recursively

    context: Record<string, unknown>

    Message context (additional data)

    { id: 'xxx' }
    
    deep?: number

    Recursion depth

    0
    
    errorKey?: string

    Error key from 'enum'

    'NST_SA_EMAIL_NOT_UNIQUE'
    
    level: "verbose" | "debug" | "error" | "warn" | "log" | "fatal"

    Log level (info, error, warn, debug, verbose, log)

    'info'
    
    message: string

    Message text

    'Failed to create cloudlfare output'
    
    parentPath?: string

    Parent path for child errors

    'MainService.start --> VideoService.createOutput'
    
    scope?: string

    Scope where the message was logged

    'VideoService'
    
    stack?: string

    Error stack from Error object (Error.stack)

    statusCode?: string

    HTTP status code

    '400'
    
    timestamp: string

    Timestamp in ISO 8601 format

    '2021-06-10T16:33:42.000Z'