# Unit bbdebugtools

Description
Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Variables

## Description

Logging and benchmarking functions for debugging

Not supposed to be used in production

## Overview

### Functions and Procedures

`procedure log(const s: string);`
`procedure startTiming(const title:string='global');`
`procedure stopTiming(const title:string='global');`
`procedure stoplogging();`

### Types

`TStringNotifyEvent = procedure(message: string) of object;`

### Variables

`logging: boolean=false;`
`logFileCreated: boolean=false;`
`logFile: TextFile;`
`logFileSection: TRTLCriticalSection;`
`logFileName: string;`
`timing: TStringList=nil;`
`OnLog: TStringNotifyEvent = nil;`

## Description

### Functions and Procedures

`procedure log(const s: string);`

`procedure startTiming(const title:string='global');`

`procedure stopTiming(const title:string='global');`

`procedure stoplogging();`

### Types

`TStringNotifyEvent = procedure(message: string) of object;`

### Variables

`logging: boolean=false;`

`logFileCreated: boolean=false;`

`logFile: TextFile;`

`logFileSection: TRTLCriticalSection;`

`logFileName: string;`

`timing: TStringList=nil;`

`OnLog: TStringNotifyEvent = nil;`

Generated by PasDoc 0.16.0.