comparison mde/init.d @ 0:d547009c104c

Repository creation. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 27 Oct 2007 18:05:39 +0100
parents
children 18491334a525
comparison
equal deleted inserted replaced
-1:000000000000 0:d547009c104c
1 /**************************************************************************************************
2 * Initialisation setup and exit cleanup module.
3 *
4 * This module controls most of the initialisation and deinitialisation of the program.
5 *************************************************************************************************/
6
7 // tango imports
8 import tango.util.log.Log : Log;
9 import tango.util.log.ConsoleAppender : ConsoleAppender;
10
11 /**
12 * Init class
13 *
14 * A scope class created at beginning of the program and destroyed at the end; thus the CTOR
15 * handles program initialisation and the DTOR handles program cleanup.
16 */
17 scope class Init
18 {
19 this()
20 {
21 // For now, just log to the console:
22 Log.getRootLogger().addAppender(new ConsoleAppender);
23 }
24
25 ~this()
26 {
27 }
28 }