|   | ![[ Previous ]](navbprev.gif)  ![[ Contents ]](navbhome.gif)  ![[ Index ]](navbhelp.gif)  ![[ Next ]](navbnext.gif)  | 
    char *Ns_ModLogLookupRealm(
    Ns_ModLogHandle handle
    );
The Ns_ModLogLookupRealm function returns a realm from a handle. The realm of the default handle is returned for a null handle.
    Ns_ModLogHandle handle;
    Ns_ModLogRegister("testrealm", &handle);
    Ns_Log(Notice, "Realm is %s", Ns_ModLogLookupRealm(handle));