-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
In UserGuide.md,
The suggested usage statement on line 96 seems like a documentation error...
95 ```matlab
96 logger = logger.Logger.getLogger('foo.bar.baz.MyThing');
97 logger.info('Something happened');
98 ```
If it worked, then the logger would henceforth refer to the logger object instead of the "package", I think.
But it doesn't work, it produces an error:
Undefined function or variable 'logger'.
(in R2015b, at least)
This works:
mylogger = logger.Logger.getLogger('foo.bar.baz.MyThing');
mylogger.info('Something happened')
Reactions are currently unavailable