sharedLog between dll
    rikki cattermole via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Tue Aug  1 02:06:39 PDT 2017
    
    
  
On 01/08/2017 9:28 AM, Domain wrote:
> I want to redirect the sharedLog to my logger in one dll, and all dlls 
> will use the new one. What should I do?
> 
> sharedLog = new MyLogger(); // this will not change the logger in other dll
You said the magic phrase, DLL.
Can't share e.g. classes between dll/host[0].
[0] https://issues.dlang.org/show_bug.cgi?id=4071
    
    
More information about the Digitalmars-d-learn
mailing list