Skip to content

podmaxs/console-development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Console Log - development - AngularJS Module

Description

This module allows no logging to be printed on the console if the environment where the app is run is different from localhost

Installation

- Install module:  npm i angularjs-dev-console -S
- Add module to angularjs app: angular.module('myApp',['developConsole'])

Basic usage

- console.mode('mode') - mode : dev / prod - String - This command set the enviroment. default is dev if is localhost domaind else is prod
- console.logs().      - Print de all logs.
- console.dev('')      - Equal to regular console.log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published