Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Log output formatting #32

Closed
ThorvaldAagaard opened this issue Jan 5, 2018 · 2 comments
Closed

Log output formatting #32

ThorvaldAagaard opened this issue Jan 5, 2018 · 2 comments

Comments

@ThorvaldAagaard
Copy link

When I build my app I get the following output from the plugin

> ionic2-custom-icons

[17:03:51]
ionic2-custom-icons: Creating custom icon set 'geme'
[17:03:51] ionic2-custom-icons: Creating custom icon set 'gemeTab'
[17:03:51] ionic2-custom-icons: Creating custom icon set 'category'
[17:03:51]
gulp-svgicons2svgfont: Font created
[17:03:51]
gulp-svgicons2svgfont: Font created
[17:03:51]
gulp-svgicons2svgfont: Font created
ionic2-custom-icons: Successfully created icons

is it possible to remove som of the line breaks and get output like this

> ionic2-custom-icons

[17:03:51] ionic2-custom-icons: Creating custom icon set 'geme'
[17:03:51] ionic2-custom-icons: Creating custom icon set 'gemeTab'
[17:03:51] ionic2-custom-icons: Creating custom icon set 'category'
[17:03:51] gulp-svgicons2svgfont: Font created
[17:03:51] gulp-svgicons2svgfont: Font created
[17:03:51] gulp-svgicons2svgfont: Font created
ionic2-custom-icons: Successfully created icons

All is working fine, but my OCD keeps me looking at this :-)

@GerritErpenstein
Copy link
Owner

You are right, this looks horrible! 😁

@GerritErpenstein GerritErpenstein changed the title A minor issue :-) Log output formatting Jan 6, 2018
@GerritErpenstein
Copy link
Owner

Log output looks like this now:

> npm run ionic:watch:before

> ionic2-custom-icons-example@ ionic:watch:before /home/gerrit/dev/ionic2-custom-icons/ionic2-custom-icons-example
> ionic2-custom-icons

[12:05:04]  ionic2-custom-icons: Creating custom icon set 'evil'
[12:05:04]  ionic2-custom-icons: Creating custom icon set 'foundation'
[12:05:04]  ionic2-custom-icons: Creating custom icon set 'test'
[12:05:06]  ionic2-custom-icons: Successfully created icons

Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser - 
Ctrl+C to cancel
[12:05:07]  watch started ... 
[12:05:07]  build dev started ... 
[12:05:07]  clean started ... 

There is probably not much I can do about the blank line before and after executing the script.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants