Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is their an API call for writing custom trace information to the Umbraco Trace log?
- Mark
Do you mean the log table ?If so use
Log
.Add(LogTypes.Custom, nodeId, "Message");
Otherwise you could probably use the normal Trace.Write("Message");
Hope it helps you,
Richard
Hmm, what's the log table? It may be what I'm looking for.
I did try using Trace.Write, but none of the output ended up displaying so I presumed Umbraco was doing something subtle behind the scenes.
You must add ?umbDebugShowTrace=true at end of your request to see trace message.http://umbraco.org/documentation/books/debugging
Petr
Right, I was doing that. What I meant was, the output from my calls to Trace.Write() weren't showing up amongst all the stuff generated by Umbraco. So I presume it's doing something funky under the hood.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Writing Custom Trace Information
Is their an API call for writing custom trace information to the Umbraco Trace log?
- Mark
Do you mean the log table ?If so use
Log
.Add(LogTypes.Custom, nodeId, "Message");
Otherwise you could probably use the normal Trace.Write("Message");
Hope it helps you,
Richard
Hmm, what's the log table? It may be what I'm looking for.
I did try using Trace.Write, but none of the output ended up displaying so I presumed Umbraco was doing something subtle behind the scenes.
- Mark
You must add ?umbDebugShowTrace=true at end of your request to see trace message.
http://umbraco.org/documentation/books/debugging
Petr
Right, I was doing that. What I meant was, the output from my calls to Trace.Write() weren't showing up amongst all the stuff generated by Umbraco. So I presume it's doing something funky under the hood.
- Mark
is working on a reply...