Skip to content

Logger Improvements #3

@moonglum

Description

@moonglum

Currently, the provided console object provides the log, info, warn, debug and error methods.

They all take any number of arguments and join them with " ". In Node, the first element could also be a format string:

console.log("(%i/%i)", 3, 4)

Which works like the following Ruby code

puts "(%i/%i)" % [3, 4]

So we could implement that to offer the entirety of those five logging functions. We can also check which other methods of console make sense to implement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions