Product
Store demo
Showcase
Features
Why for developers
Why for store owners
Industries
Fashion
Health & Beauty
Food & Beverage
Automotive
Industrial & Scientific
Furniture
B2B eCommerce
International
Downloads
Download nopCommerce
Marketplace
Translations
Copyright removal key
Mobile application
Web API
Support & services
Training
Documentation
Community forums
Premium support services
Request a quote
Contact us
Partners
English
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Get started
Shopping cart
My account
Log in
Register
Home
>
Forums
>
General
>
General Support
>
Class Library LOG
Class Library LOG
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
celeru
Total Posts:
5
Karma:
25
Joined:
8/3/2015
Location:
Argentina
Posted:
7 years ago
I want to know what is the correct way to use the LOG (_logger.Warning (exc.Message, exc);) in a Class library?
I have my own "class libraries" and I need to be able to write in the LOG.
Divyang
Total Posts:
450
Karma:
4498
Joined:
2/23/2015
Location:
India
Posted:
7 years ago
celeru wrote:
I want to know what is the correct way to use the LOG (_logger.Warning (exc.Message, exc);) in a Class library?
I have my own "class libraries" and I need to be able to write in the LOG.
It should be fine to write in a same way!
FYI: You can see
_logger.Error(exc.Message, exc);
at many places in default code, but that indicates different long level.
Here is the documentation of
Logs
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Still have questions or need help?
.
Premium support services
.
Get dedicated support from the nopCommerce team with a guaranteed response within 24 hours.
.
Online course for developers
.
Get the practical and technical skills you need to run and customize nopCommerce websites.