Adds a prefix to log messages to show the relationship between objects doing the logging.
More...
|
| | SLogger (string prefix) |
| | Creates a new logger with the given prefix.
|
| |
| SLogger | CreateSub (string subPrefix) |
| | Creates new sub-logger that combines its own prefix with the base logger using the pattern "baseprefix.subprefix:" log message.
|
| |
| void | L (string txt) |
| | Logs a message.
|
| |
| void | LW (string txt) |
| | Logs a warning.
|
| |
| void | LE (string txt) |
| | Logs an error message.
|
| |
| void | LogException (Exception e) |
| | Logs an exception.
|
| |
|
|
string | Prefix [get, set] |
| | String used as prefix for all log messages.
|
| |
Adds a prefix to log messages to show the relationship between objects doing the logging.
◆ SLogger()
| Byn.Awrtc.SLogger.SLogger |
( |
string | prefix | ) |
|
Creates a new logger with the given prefix.
- Parameters
-
| prefix | string used as prefix. |
◆ CreateSub()
| SLogger Byn.Awrtc.SLogger.CreateSub |
( |
string | subPrefix | ) |
|
Creates new sub-logger that combines its own prefix with the base logger using the pattern "baseprefix.subprefix:" log message.
- Parameters
-
| subPrefix | Prefix to append |
- Returns
- New logger
◆ L()
| void Byn.Awrtc.SLogger.L |
( |
string | txt | ) |
|
Logs a message.
- Parameters
-
◆ LE()
| void Byn.Awrtc.SLogger.LE |
( |
string | txt | ) |
|
Logs an error message.
- Parameters
-
◆ LogException()
| void Byn.Awrtc.SLogger.LogException |
( |
Exception | e | ) |
|
Logs an exception.
- Parameters
-
◆ LW()
| void Byn.Awrtc.SLogger.LW |
( |
string | txt | ) |
|
Logs a warning.
- Parameters
-
The documentation for this class was generated from the following file:
- /Volumes/macdev/wrtc/main_new/awrtc/awrtc_cs_common/Byn.Awrtc/SLog.cs