question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optionalize logging of console version, and add to API

See original GitHub issue

For https://github.com/bldrs-ai/ifctool we’re invoking web-ifc in a command line tool. In this setting the web-ifc version log corrupts the process output.

I realize it’s useful for web console to help people submit bug reports. Maybe it can be optionalized with a flag:

new WebIFC.IfcAPI({debugLogging: false}) // don't log version

We still do need the version info though, and would like to access it via an API method, e.g.:

getVersion: string

I’m having trouble building web-ifc currently or would submit myself. Will try to get this working later tho.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
pablo-mayrgundtercommented, Nov 8, 2022

::done

On Mon, Oct 17, 2022 at 12:25 PM Antonio González Viegas < @.***> wrote:

Hey @pablo-mayrgundter https://github.com/pablo-mayrgundter thanks for your help! I guess that if you have it done, it wouldn’t make sense for @TxTony https://github.com/TxTony to invest time here. In the future, to avoid conflicts, please take the bounty

— Reply to this email directly, view it on GitHub https://github.com/IFCjs/web-ifc/issues/188#issuecomment-1280635501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS5V36B563DWGY66PKWWBTWDUSQXANCNFSM5Z2EPDLQ . You are receiving this because you were mentioned.Message ID: @.***>

interweb homepage http://sites.google.com/site/pablomayrgundter

0reactions
pablo-mayrgundtercommented, Nov 8, 2022

Oh hey, I think this was finished in https://github.com/IFCjs/web-ifc/pull/261. Please close!

On Tue, Nov 8, 2022 at 1:00 AM Antonio González Viegas < @.***> wrote:

🔴🔴🔴

Hi, @pablo-mayrgundter https://github.com/pablo-mayrgundter! The date is past due, your assignment has been revoked. It’s now available for anyone to take.

— Reply to this email directly, view it on GitHub https://github.com/IFCjs/web-ifc/issues/188#issuecomment-1306390547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS5V32TM5ATB5WHQ7S2L2LWHGJZFANCNFSM5Z2EPDLQ . You are receiving this because you were mentioned.Message ID: @.***>

interweb homepage http://sites.google.com/site/pablomayrgundter

Read more comments on GitHub >

github_iconTop Results From Across the Web

console.log() - Web APIs - MDN Web Docs
The console.log() method outputs a message to the web console. The message may be a single string (with optional substitution values), ...
Read more >
8 Console API Functions Other Than Console.log()
The Console API's most commonly used method is undoubtedly console.log. ... Note: All methods are available in NodeJS as of version 10.0.0 ...
Read more >
Logging - .NET - Microsoft Learn
This article shows how to use the logging API with built-in providers. The logging providers are responsible for determining where logs are ...
Read more >
Console | Node.js v19.3.0 Documentation
A Console class with methods such as console.log() , console.error() , and console.warn() that can be used to write to any Node.js stream....
Read more >
Log messages in the Console - Chrome Developers
It assumes that you understand the fundamentals of web development, such as how to use JavaScript to add interactivity to a page. #...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found