Comments (10)
It's a runtime error. Let me see if I can easily isolate it.
from abstract-logging.
I added some extra tests in #3 and they verify cleanly. Can you post a script to replicate your issue?
from abstract-logging.
Just a regular require statement
from abstract-logging.
The properties are not enumerable. Therefore they will not be shown in a serialization of the object.
from abstract-logging.
I'll triple check, but basically I was getting a info
is not a function in the code — maybe I did something wrong. Thanks for the clarification though.
from abstract-logging.
For reference @jsumners: stoplightio/prism#816
from abstract-logging.
Correction, the returned object "inherits" from the prototype where the methods are defined. So the methods are not "own properties" of the returned object. The net effect is the same: they will not be shown in serialization.
from abstract-logging.
I'll triple check, but basically I was getting a info is not a function in the code
Is that your editor saying that? Or is this an actual runtime error? If it's an actual runtime error then that is why I am asking for a simple reproduction case. I am not seeing this in the test suite or anywhere else I am using the module.
from abstract-logging.
@XVincentX have you been able to reproduce this?
from abstract-logging.
This can be closed, I was having some problems with the trace
method but it does not seem to be related to the library itself.
from abstract-logging.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abstract-logging.