Skip to content

Commit

Permalink
Create Log.md (#61)
Browse files Browse the repository at this point in the history
* Create Log.md

* Update Log.md
  • Loading branch information
NorthernMan54 authored Nov 15, 2024
1 parent 8f3d91f commit 56fd6d9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/docs/api/Log.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# LOG Reference

### Logging Levels

> this.log
Basic logging

> this.log.info
Basic logging

> this.log.success
Messages are highlighted in green
( Since Homebridge 1.8.0 )

> this.log.warn
Messages are highlighted in yellow, and with the console error logger

> this.log.error
Messages are highlighted in red, and with the console error logger

> this.log.debug
Messages are highlighted in gray
Messages with DEBUG level are only displayed if explicitly enabled. Debug level logging is enabled with the homebridge command line options -D or --debug.

0 comments on commit 56fd6d9

Please sign in to comment.