Sisk

Enum

LogOutput

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

Determines the way the server can write log messages. This enumerator is for giving permissions for certain contexts to be able or not to write to the server logs, such as AccessLogsStream and ErrorsLogsStream.

C#
[Flags]
public enum LogOutput

Fields #

NameDescription
AccessLog = 2Determines that the context or the route can write log messages only to the access logs through AccessLogsStream.
Both = 6Determines that the context or the route can write log messages to both error and access logs.
ErrorLog = 4Determines that the context or the route can write error messages only to the error logs through ErrorsLogsStream.
None = 0Determines that the context or the route cannot write any log messages.

Type to search the documentation and the API reference.