debug library

debug function

Instance of local Logger class

provides debug() functionality similar/identical to the JavaScript one by TJ Holowaychuck

Use: import 'package:debug/debug.dart'; final debug = Debug('identifier'); ... debug('print some message');

If 'identifier' (no quotes) is defined in ENV variable DEBUG, then the message is printed, along with elapsed time.

DEBUG has the format: id;id;id... TODO: wildcards

Classes

Logger

Properties

console → Console
final
lastCall int
final

Functions

Debug(String name) → dynamic Function(String s)
Debug(key)
Now() int