Code covered by the BSD License  

Highlights from
log4matlab

log4matlab

by

 

29 Oct 2011 (Updated )

Simple logger written with Apache's log4cxx & log4j in mind

TestClass2
classdef TestClass2 < handle
    properties
        L = log4matlab('logFileName.log');
    end
    methods
        function Test(self)
            self.L.mlog = {self.L.DEBUG,mfilename('class'),self.L.Me};
            a = 1;
            self.L.mlog = {self.L.DEBUG,mfilename('class'),[self.L.Me,'a =',num2str(a)]};
        end
    end    
end

Contact us