Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ineo6/hosts
/ disableLog
Function
disableLog
src/log.ts:4–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
import
log from
"log"
;
3
4
export
function
disableLog() {
5
log.error.disable();
6
log.info.disable();
7
}
8
9
export
function
createLogger(silent?: Boolean) {
10
if
(!silent) {
Callers
2
constructor
Method · 0.90
createLogger
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected