Skip to content

How to use winston? #245

Open
Open
@hamzamumtaz007

Description

@hamzamumtaz007

Can someone please tell me how can i log everything using winston, winston is already implemented here and as per the documentation here is how it's implemented:

import { Logger, LoggerInterface } from '../../decorators/Logger';

@service()
export class UserService {

constructor(
    @Logger(__filename) private log: LoggerInterface
) { }

How to use this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions