Comments (2)
Problem is that (log:stmt <non-const-value>)
treats <non-const-value>
as logger, and it uses `(locally (declare (optimize (speed 3) (safety 0))' for the check if logging is enabled on the logger, and since e is not a logger, it gets memory fault error
There are log:expr
like alises for other log levels called log:sexp-info
, log:sexp-trace
etc.. So you probably wanted to use (log:sexp-info e)
, which would print e=#<value of error>
with INFO log level... (I'm open to suggestion as to better naming of these, one idea I have is two letter aliases starting, as in si, sw, st for sexp-info, sexp-warn, sexp-trace... Or maybe pi, pw, pt, with p standing for print)
Thanks for the bug report, since generating the safety 0 thing is done at macro expansion time, it should be easy to fix and have it do (safety 1) for the case of (log:info var).., in which case you would get type-error that "e is not of type logger" instead of memory fault.
I'll make the fix today, but don't know if it will make it into the quicklisp release being built this Sunday
from log4cl.
This had now been fixed, I hope it makes it into next QuickLisp
from log4cl.
Related Issues (20)
- public API changed: log:config :daily doesn't accept a pathname anymore, only strings HOT 2
- Log4slime Error Upon Startup (org-compatible-face) HOT 5
- log expansion should not capture stream HOT 2
- Log levels of parent loggers are not applied to messages of children. HOT 3
- Add syntax sugar for logging macros to drop innermost level of auto-naming
- Should serialized-appender use a recursive lock? HOT 6
- slime error message when loading log4cl HOT 1
- log4cl not detecting existing package name
- dependency on sb-posix is not declared HOT 2
- problem on ABCL HOT 2
- Consider using Conium rather than SWANK-BACKEND
- Troubles with log4slime HOT 2
- log4cl:project-options doesn't work. HOT 1
- Unable to install `Log4Slime`
- I haven't thanked you enough. HOT 1
- JOIN-THREAD-ERROR HOT 3
- Recursive lock attempt with `log4cl`
- PLEASE REPORT BUGS IN MAINTAINED FORK https://github.com/sharplispers/log4cl
- Sly integration HOT 1
- When running ros install arrival , I get an error related to log4cl HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from log4cl.