rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
105 lines (50 loc) • 1.25 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [\_Debug](./rc-js-util._debug.md) > [verboseLog](./rc-js-util._debug.verboselog.md)
## \_Debug.verboseLog() method
Logging which can be conditionally enabled by setting either `VERBOSE` to true on build options (enabling everything), or by calling setLoggingTags and specifying which tags you'd like enabled.
**Signature:**
```typescript
static verboseLog(this: void, tags: readonly string[], message: string, ancillaryObject?: object): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
this
</td><td>
void
</td><td>
</td></tr>
<tr><td>
tags
</td><td>
readonly string\[\]
</td><td>
</td></tr>
<tr><td>
message
</td><td>
string
</td><td>
</td></tr>
<tr><td>
ancillaryObject
</td><td>
object
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
void
## Example
```typescript
function foo(a1: number) {
_BUILD.DEBUG && _Debug.verboseLog(`got me a ${a1}`);
}
```