Old Luan Forum
Search
everywhere
only in this topic
Advanced Search
Logging
Classic
List
Threaded
♦
♦
Locked
3 messages
Hugo <Nabble>
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Logging
How can we print log statements from the luan code?
Example:
Log.info('a') Log.debug('b') Log.error('c') Log.warn('d')
I am not sure how this would work with luanhost, but I need this to debug my code.
fschmidt
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Logging
Administrator
local logger = Logging.logger "test"
logger.info('a')
logger.debug('b')
logger.error('c')
logger.warn('d')
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament
, not evil modern culture
Hugo <Nabble>
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Logging
Thanks, closing thread.
Free forum by Nabble
Edit this page