Welcome Guest, Not a member yet? Register   Sign In
Shouldn't a custom library be logged as when its loaded ?
#1

[eluser]scottelundgren[/eluser]
I've written a custom library and saved it as application/libraries/LDAP.php. The library has a custom config file and it is in application/config/LDAP.php. If I have:

applicaation/config/config.php:

$config['log_threshold'] = 4;

applicaation/config/autoload.php:

$autoload['libraries'] = array('LDAP', 'database', 'session', 'validation', 'email');

when I look at my log file I have this snippet:

DEBUG - 2007-10-24 14:48:53 --> Loader Class Initialized
DEBUG - 2007-10-24 14:48:53 --> Config file loaded: config/LDAP.php
DEBUG - 2007-10-24 14:48:53 --> Helpers loaded: form, url
DEBUG - 2007-10-24 14:48:53 --> Database Driver Class Initialized
DEBUG - 2007-10-24 14:48:53 --> Session Class Initialized
DEBUG - 2007-10-24 14:48:53 --> Encrypt Class Initialized
DEBUG - 2007-10-24 14:48:53 --> Validation Class Initialized
DEBUG - 2007-10-24 14:48:53 --> Email Class Initialized
DEBUG - 2007-10-24 14:48:53 --> Controller Class Initialized

and I'm thinking shouldn't I be able to see my LDAP class loaded in my logs? I'm having some weird behaviour with my library so I'm staring my investigation wondering if the library was even loaded.


Messages In This Thread
Shouldn't a custom library be logged as when its loaded ? - by El Forum - 10-24-2007, 12:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB