Skip to content

Commit

Permalink
Merge pull request #4 from canjs/hide-from-docs
Browse files Browse the repository at this point in the history
Hide all docs
  • Loading branch information
imaustink authored Oct 31, 2017
2 parents 841f43f + 7d1a1a0 commit 730b504
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion can-log.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ exports.logLevel = 0;

/**
* @module {{}} can-log log
* @parent can-log
* @parent can-infrastructure
* @hide
*
* Utilities for logging to the console.
*/
Expand Down Expand Up @@ -45,6 +46,7 @@ exports.warn = function(out) {
* @parent can-log
* @description
* Adds a message to the console.
* @hide
*
* ```
* var canLog = require("can-log");
Expand Down Expand Up @@ -72,6 +74,7 @@ exports.log = function(out) {
* @parent can-log
* @description
* Adds an error message to the console.
* @hide
*
* ```
* var canLog = require("can-log");
Expand Down
7 changes: 6 additions & 1 deletion dev/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ var canLog = require("../can-log");
/**
* @module {{}} can-log/dev dev
* @parent can-log
*
* @hide
*
* Utilities for logging development-mode messages. Use this module for
* anything that should be shown to the user during development but isn't
* needed in production. In production these functions become noops.
Expand All @@ -17,6 +18,7 @@ module.exports = {
* @function can-log/dev.stringify stringify
* @parent can-log
* @description
* @hide
*
* JSON stringifies a value, but unlike JSON, will output properties with
* a value of `undefined` (e.g. `{ "prop": undefined }`, not `{}`).
Expand Down Expand Up @@ -45,6 +47,7 @@ module.exports = {
* @function can-log/dev.warn warn
* @parent can-log
* @description
* @hide
*
* Adds a warning message to the console.
*
Expand All @@ -66,6 +69,7 @@ module.exports = {
* @function can-log/dev.log log
* @parent can-log
* @description
* @hide
*
* Adds a message to the console.
*
Expand All @@ -87,6 +91,7 @@ module.exports = {
* @function can-log/dev.error error
* @parent can-log
* @description
* @hide
*
* Adds an error message to the console.
*
Expand Down

0 comments on commit 730b504

Please sign in to comment.