✒️
CFScribe
  • Introduction
  • Intro
    • Page 1
  • Getting Started
    • Features at a Glance
    • Configuration
    • Rules and Rule Definitions
    • Appenders
      • Pusher
      • ScreenAbort
      • ScreenDump
      • Sentry
      • ScribeConsole
      • Toaster
      • Using LogBox Appenders
  • Using as a ColdBox Module
    • Installation
    • Configuration
  • Using As A Logbox Appender
    • Page 2
  • Using as a Stand Alone Product
    • Creation
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Getting Started
  2. Appenders

Using LogBox Appenders

PreviousToasterNextInstallation

Last updated 2 years ago

Was this helpful?

CFScribe can use any of the LogBox appenders to log.

Configuration

You will need to configure the appenders you wish to use according to the . Examples include:

logbox : {
    appenders : {
        "coldboxTracer" : { class : "coldbox.system.logging.appenders.ConsoleAppender" },
        "cfAppender": {class: "CFAppender"},
        "consoleAppender": {class: "ConsoleAppender"},
        "dbAppender" : {class: "DBAppender",properties:{dsn:"",table:""}
    }
}

The names of LogBox Appenders can be found in the /coldbox/system/logging/appenders folder and correspond to the file names. Documentation can be found at

Usage

You can reference the appenders the same way you would any others.

rules : {
   "production"  : "",
   "development" : [ "dbAppender" ],
   "testing"     : [ "EmailAppender" ],
   "blarg"       : [ "FileAppender" ]
}

LogBox documents
https://logbox.ortusbooks.com/usage/appender-properties