You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: utilities/using-loggers/index.md
+4
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,8 @@ that is prepended on email subject.
110
110
To change how email subject and email body are composed, you can extends [`TMailLogger` class](https://github.com/fanoframework/fano/blob/development/src/Libs/Logger/MailLoggerImpl.pas)
111
111
and override its `buildSubject()` and `buildMessage()` protected methods.
112
112
113
+
[Fano Mail Logger](https://github.com/fanoframework/fano-mail-logger) is an example web application that demonstrates how to log messages as email.
114
+
113
115
### Logging to Database
114
116
115
117
`TDbLogger` is logger implementation that will output log message to database. It requires instance of `IRdbms` which responsible to do database operation. Read [Database](/database) section for more information.
@@ -138,6 +140,7 @@ logger := TDbLogger.create(
138
140
'context' //context column name
139
141
);
140
142
```
143
+
[Fano Db Logger](https://github.com/fanoframework/fano-db-logger) is an example web application that demonstrates how to log to MySQL database.
141
144
142
145
### Log to several medium
143
146
@@ -401,3 +404,4 @@ logger := container['logger'] as ILogger;
401
404
-[Error Handler](/error-handler)
402
405
-[Database](/database)
403
406
-[Example web application that log messages to MySQL database](https://github.com/fanoframework/fano-db-logger)
407
+
-[Example web application that log messages as email](https://github.com/fanoframework/fano-mail-logger)
0 commit comments