v icon indicating copy to clipboard operation
v copied to clipboard

VWeb startup message should be able to disabled

Open ArthurZhou opened this issue 1 year ago • 1 comments

Describe the feature

At vweb/vweb.v line 417

This startup message should be able to disabled

Use Case

When using custom loggers:

2023-03-13 19:27:31 [INFO ] this is a log
[Vweb] Running app on http://localhost:8080/

Proposed Solution

Add an option to disable it or choose a custom output instead of stdout

Other Information

No response

Acknowledgements

  • [X] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

Version used

V 0.3.3 d7a418f

Environment details (OS name and version, etc.)

OS: windows, Microsoft Windows 10 Home v19045 64-bit Processor: 16 cpus, 64bit, little endian, CC version: Error: exec failed (CreateProcess) with code 2: The system cannot find the file specified. cmd: cc --version

getwd: C:\Users\AZ\CLionProjects\v2Lib vmodules: C:\Users\AZ.vmodules vroot: C:\v vexe: C:\v\v.exe vexe mtime: 2023-03-06 07:41:58 is vroot writable: true is vmodules writable: true V full version: V 0.3.3 d7a418f

Git version: git version 2.39.0.windows.2 Git vroot status: Error: fatal: not a git repository (or any of the parent directories): .git .git/config present: false thirdparty/tcc: N/A

ArthurZhou avatar Mar 13 '23 11:03 ArthurZhou

Hi,

An option to disable is ok. I wouldn't want to completely remove it, as it's useful. Nice to be able to open the website on the correct port immediately.

medvednikov avatar Mar 13 '23 11:03 medvednikov

done

ArthurZhou avatar Mar 18 '23 01:03 ArthurZhou