Skip to content

Migration templates should use shared log #422

Open
@foysavas

Description

@foysavas

Migration templates currently use console.log in several places. It would be better to use the db-migrate-shared log functions, so that logging output can be controlled easily through global variables. In my case, I programmatically use db-migrate and prefer not to override the console functions.

Here is where console.log appears in the migration templates:

' console.log(\'received data: \' + data);',

' console.log(\'received data: \' + data);',

' console.log(\'received data: \' + data);',

' console.log(\'received data: \' + data);',


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions