Skip to content

Commit

Permalink
docs(core): update warning message documentation in ConsoleIO and Con…
Browse files Browse the repository at this point in the history
…soleLogger
  • Loading branch information
hellosatyajit authored and vinayak25 committed Jan 17, 2025
1 parent 2adf084 commit adcb818
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/core/lib/console/consoleIO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ export class ConsoleIO {
ConsoleLogger.error(msg);
}

/**
* Use this method to print a warning message
* @param msg
* @returns void
*/
warn(msg: string) {
ConsoleLogger.warn(msg);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/lib/console/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class ConsoleLogger {
}

/**
* Use this method to print an information line
* Use this method to print a warning message
* @param msg
* @returns void
*/
Expand Down

0 comments on commit adcb818

Please sign in to comment.