File: 0945.html

package info (click to toggle)
web-mode 17.3.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,164 kB
  • sloc: lisp: 13,359; javascript: 506; jsp: 113; sh: 10; php: 9; makefile: 8; xml: 2
file content (18 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script>
 /**
  * Build logger stream configuration by type, for 'file' and 'rotate'
  * additionally save a log for error levels.
  * @private
  * @param {string} type - Supported types are 'file', 'rotate' and 'stream'
  * if it's not specified or is false the stream will disabled
  * @param {object} options - the parameters for define a stream
  * @param {string} [options.name] - An optiona
  * @param {(boolean|object|string[])} [options.alerts] - if `alerts` is
  * @param {object} options.config -  options, see {@link Logger#setup}
  * @returns {object} logger streams configuration
  */
 function myFunction(type, options = {}) {


 }
</script>