Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 777 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 777 Bytes

Serilog.Sinks.OrientDB

Build status

##Usage Add to your LoggingConfiguration:

.WriteTo.OrientDB("http://server:port", "databaseName", "user", "password")

We recommend a new database for logging instead of using a preexisting one as there are database level requirements.

The database that you provide via databaseName should already exist and two ALTER DATABASE commands need to be ran:

ALTER DATABASE DATETIMEFORMAT yyyy-MM-dd'T'HH:mm:ss.SSS
ALTER DATABASE TIMEZONE UTC
```

The sink will automatically define an appropriate class (LogEvent by default) with appropriate schema.