Skip to content

Simple typescript decorators for console logging and debugging

Notifications You must be signed in to change notification settings

jakub-hajduk/poka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poka

Poka poka. Simple typescript decorators for console logging and debugging

@Changes()

Method decortator

Decorator for Angular components. It logs all the changes of the data-bound properties.

@Count()

Method decorator

Counts calls of the ecorated method.

@Group()

Method decorator

Groups every console logs called inside method.

@Methods()

Class decorator

Logs every method in class when it's called.

@Output()

Method decorator

It logs what decorated method returns

@Time()

Method decoraror

Logs how much time method execution take

@Caller() - EXPERIMENTAL

Method decorator

Logs from which method the current one was called. At least it should.

It may cause errors and not work correctly, sincce it is experimental decorator ;)

About

Simple typescript decorators for console logging and debugging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published