Interface ILog
A logger with special capabilities.
It can take log messages, and chain itself to other loggers.
If chained, it can broadcast the messages to the other loggers from that time forward.
Basically this is the backbone of Insights.
To add messages/logs of all kinds you must use null-safe extension methods. It will require you to add the namespace ToSic.Lib.Logging.
Namespace: ToSic.Lib.Logging
Assembly: ToSic.Lib.Core.dll
Syntax
[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just FYI")]
public interface ILog
Properties
| Improve this Doc View SourceNameId
A unique identifier containing a special Scp.NameOf[id]
name.
This consists of
Scp
Scope - up to 3 charactersNameOf
Name - up to 6 charactersid
A random id 2 characters long
Declaration
string NameId { get; }
Property Value
Type | Description |
---|---|
string |