I'd opt in for something like:
LiftRules.logger = Log4J
or
LiftRule.logger = MyOwnLogger
Br's,
Marius
On Feb 25, 11:23 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Hi,
I'm about to start sprinkling the new logging code over some of Lift's
internals. But first, the logging backend
+1
This fits with the idioms we already have. Although, so Lift doesn't carry a
default dependency it would probably need to be:
// default
LiftRules.logger = NoLogger
Or something...
Cheers, Tim
On 25 Feb 2010, at 09:32, Marius wrote:
I'd opt in for something like:
LiftRules.logger =
On Thu, Feb 25, 2010 at 10:32 AM, Marius marius.dan...@gmail.com wrote:
I'd opt in for something like:
LiftRules.logger = Log4J
Agree this fits the current idioms, but how should this be triggered?
The new logging code is in lift-common so cannot call stuff in
LiftRules.
Note we're not
On Thu, Feb 25, 2010 at 10:53 AM, Timothy Perrett
timo...@getintheloop.eu wrote:
+1
This fits with the idioms we already have. Although, so Lift doesn't carry a
default dependency it would probably need to be:
// default
LiftRules.logger = NoLogger
I'm not sure this is worth it. It's
Then perhaps:
LiftRules.initLogger(Log4J)
On Feb 25, 12:16 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
On Thu, Feb 25, 2010 at 10:32 AM, Marius marius.dan...@gmail.com wrote:
I'd opt in for something like:
LiftRules.logger = Log4J
Agree this fits the current idioms, but how should
On Thu, Feb 25, 2010 at 11:44 AM, Marius marius.dan...@gmail.com wrote:
Then perhaps:
LiftRules.initLogger(Log4J)
I'll buy that :-)
/Jeppe
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to lift...@googlegroups.com.
Why should an initLogger method be in LiftRules?
-
Mariusmarius.dan...@gmail.com wrote:
Then perhaps:
LiftRules.initLogger(Log4J)
On Feb 25, 12:16 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
On Thu, Feb 25, 2010 at 10:32 AM, Marius
On Thu, Feb 25, 2010 at 10:48 AM, Ross Mellgren dri...@gmail.com wrote:
My concern about putting this in LiftRules is that not all applications
that could benefit from the new logging support will use webkit, since the
logging is in common.
Maybe a bridge method in LiftRules to put it in a
On Thu, Feb 25, 2010 at 7:48 PM, Ross Mellgren dri...@gmail.com wrote:
My concern about putting this in LiftRules is that not all applications that
could benefit from the new logging support will use webkit, since the logging
is in common.
Maybe a bridge method in LiftRules to put it in a
My concern about putting this in LiftRules is that not all applications that
could benefit from the new logging support will use webkit, since the logging
is in common.
Maybe a bridge method in LiftRules to put it in a convenient place, but I think
the actual work should be exposed nearby the
Why not? LiftRules is about configuring a lift app at startup.
On 25 feb., 16:56, Naftoli Gugenheim naftoli...@gmail.com wrote:
Why should an initLogger method be in LiftRules?
-
Mariusmarius.dan...@gmail.com wrote:
Then perhaps:
Wait, I misunderstood something.
What's the difference between logger = X and initLogger(X)?
-
Mariusmarius.dan...@gmail.com wrote:
Why not? LiftRules is about configuring a lift app at startup.
On 25 feb., 16:56, Naftoli Gugenheim naftoli...@gmail.com wrote:
12 matches
Mail list logo