C# Class Common.Logging.ColorConsoleLogger

Inheritance: ILogger
Afficher le fichier Open project: KrzysztofBranicki/hexagonal-architecture-sample

Méthodes publiques

Méthode Description
Debug ( string message, [ memberName = null, [ filePath = null, [ lineNumber ) : void
Error ( Exception exception, [ memberName = null, [ filePath = null, [ lineNumber ) : void
Error ( string message, [ memberName = null, [ filePath = null, [ lineNumber ) : void
Info ( string message, [ memberName = null, [ filePath = null, [ lineNumber ) : void
Warning ( string message, [ memberName = null, [ filePath = null, [ lineNumber ) : void

Private Methods

Méthode Description
FormatLogText ( string level, string message, string memberName, string filePath, int lineNumber ) : string
WriteInColor ( string text, ConsoleColor color ) : void

Method Details

Debug() public méthode

public Debug ( string message, [ memberName = null, [ filePath = null, [ lineNumber ) : void
message string
memberName [
filePath [
lineNumber [
Résultat void

Error() public méthode

public Error ( Exception exception, [ memberName = null, [ filePath = null, [ lineNumber ) : void
exception System.Exception
memberName [
filePath [
lineNumber [
Résultat void

Error() public méthode

public Error ( string message, [ memberName = null, [ filePath = null, [ lineNumber ) : void
message string
memberName [
filePath [
lineNumber [
Résultat void

Info() public méthode

public Info ( string message, [ memberName = null, [ filePath = null, [ lineNumber ) : void
message string
memberName [
filePath [
lineNumber [
Résultat void

Warning() public méthode

public Warning ( string message, [ memberName = null, [ filePath = null, [ lineNumber ) : void
message string
memberName [
filePath [
lineNumber [
Résultat void